From 894357d1d1d0dd780cd05c6fd31a7e650e6fcc93 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 11 Feb 2021 16:16:19 -0800 Subject: [PATCH] In version script, add 'v' prefix to version tags --- script/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/version b/script/version index c2bbeed3..9463a6a0 100755 --- a/script/version +++ b/script/version @@ -55,7 +55,7 @@ if (arg) { fs.writeFileSync(cargoTomlPath, newCargoMetadata, 'utf8'); execFileSync('cargo', ['build'], {cwd: cliPath}); execFileSync('git', ['commit', '-a', '-m', newVersion]); - execFileSync('git', ['tag', newVersion]); + execFileSync('git', ['tag', 'v' + newVersion]); console.log(newVersion) } else { console.log(npmVersion);