Skip to content

Commit ef1631e

Browse files
committed
publish: prefix tag with "release/"
1 parent 49c87cf commit ef1631e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/publish.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ export async function publish(args) {
240240
if (args.tag) {
241241
tagName = `${args.tag}/${tagName}`;
242242
}
243+
tagName = "release/" + tagName; // prefix with 'release/' to avoid conflicts with other tags
243244
let cmd = `git tag -a ${tagName} -m "Published ${packageJson.version}" && git push origin ${tagName}`;
244245

245246
// set username and email for git

0 commit comments

Comments
 (0)