In version script, add 'v' prefix to version tags
This commit is contained in:
parent
f32c7821ba
commit
894357d1d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue