From 286b7e29f93555aad1c5357a42f9a87f9fc83999 Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Thu, 5 Sep 2024 12:35:41 +0400 Subject: [PATCH] Support s tags version parsing (#6484) Signed-off-by: Alexey Zinoviev --- common/scripts/show_tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scripts/show_tag.js b/common/scripts/show_tag.js index 4d405ce6f2..bd41cebf68 100644 --- a/common/scripts/show_tag.js +++ b/common/scripts/show_tag.js @@ -19,7 +19,7 @@ exec('git describe --tags --abbrev=0', (err, stdout, stderr) => { if (err !== null) { console.log('"0.6.0"') } - const rawVersion = stdout.trim().replace('v', '').split('.') + const rawVersion = stdout.trim().replace('v', '').replace('s', '').split('.') if (rawVersion.length === 3) { const version = { major: parseInt(rawVersion[0]),