parsing the version name v param as an int -
fixes the patch being appended
This commit is contained in:
parent
f66e127df5
commit
68553df1ca
|
@ -140,7 +140,7 @@ const incrementVersionFile = async (github, branchName) => {
|
||||||
|
|
||||||
let updatedVersionName = undefined
|
let updatedVersionName = undefined
|
||||||
if (today == date) {
|
if (today == date) {
|
||||||
updatedVersionName = `${date}-V${rc + 1}`
|
updatedVersionName = `${date}-V${parseInt(rc) + 1}`
|
||||||
} else {
|
} else {
|
||||||
updatedVersionName = `${today}-V1`
|
updatedVersionName = `${today}-V1`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue