Fix #11353
Removes the slice as the v prefix has been removed Addresses: #11353
This commit is contained in:
parent
b4e8228969
commit
33be2d6c96
|
@ -63,8 +63,7 @@
|
||||||
)
|
)
|
||||||
const githubResponse = await githubCheck.json()
|
const githubResponse = await githubCheck.json()
|
||||||
|
|
||||||
//Get tag and remove the v infront of the tage name e.g. v1.0.0 is 1.0.0
|
githubVersion = githubResponse.tag_name
|
||||||
githubVersion = githubResponse.tag_name.slice(1)
|
|
||||||
|
|
||||||
//Get the release date and output it in the local time format
|
//Get the release date and output it in the local time format
|
||||||
githubPublishedDate = new Date(githubResponse.published_at)
|
githubPublishedDate = new Date(githubResponse.published_at)
|
||||||
|
|
Loading…
Reference in New Issue