From 68553df1ca35b4b79b076928b00ed3276948f664 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Sun, 4 Sep 2022 14:20:30 +0100 Subject: [PATCH] parsing the version name v param as an int - fixes the patch being appended --- tools/beta-release/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/beta-release/app.js b/tools/beta-release/app.js index 7015cfb..14a439a 100644 --- a/tools/beta-release/app.js +++ b/tools/beta-release/app.js @@ -140,7 +140,7 @@ const incrementVersionFile = async (github, branchName) => { let updatedVersionName = undefined if (today == date) { - updatedVersionName = `${date}-V${rc + 1}` + updatedVersionName = `${date}-V${parseInt(rc) + 1}` } else { updatedVersionName = `${today}-V1` }