Skip to content

Commit

Permalink
ci(postversion): add message to the tag
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Aug 18, 2024
1 parent 3cb38ce commit 426e426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ execSync('git commit --amend --no-edit');

// delete tag created by `npm version` and create a new one
execSync(`git tag -d v${process.env.npm_new_version}`);
execSync(`git tag -s v${process.env.npm_new_version}`);
execSync(`git tag -s v${process.env.npm_new_version} -m "v${process.env.npm_new_version}"`);

0 comments on commit 426e426

Please sign in to comment.