parsing the version name v param as an int -

fixes the patch being appended
This commit is contained in:
Adam Brown 2022-09-04 14:20:30 +01:00
parent f66e127df5
commit 68553df1ca
1 changed files with 1 additions and 1 deletions

View File

@ -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`
} }