In version script, add 'v' prefix to version tags

This commit is contained in:
Max Brunsfeld 2021-02-11 16:16:19 -08:00
parent f32c7821ba
commit 894357d1d1

View file

@ -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);