Skip to content

Commit 69d1553

Browse files
author
Andrew Hall
committed
Show tag and message on dryRun
1 parent 06cf183 commit 69d1553

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/createTagsTasks.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,15 @@ async function createTagsAsync(
8181
return;
8282
}
8383

84+
const [tag, message] = getTagAndMessage(options.releaseVersion);
85+
console.log(`tag: ${tag}`);
86+
console.log(`message: ${message}`);
87+
8488
// The compiled option value in js type is 'any' type.
8589
if (dryRun) {
8690
console.log('Tagging is skipped in dry run mode.');
8791
return;
8892
} else {
89-
const [tag, message] = getTagAndMessage(options.releaseVersion);
9093
const tagCreated = await tagRepoAsync(owner, repo, commit, tag, message, options.githubPAT);
9194

9295
if (!tagCreated) {

0 commit comments

Comments
 (0)