fix: correct log when adding channel to tag

This commit is contained in:
Pierre Vanduynslager
2019-12-10 00:23:38 -05:00
parent a8747c4f86
commit 61665be9ec
2 changed files with 19 additions and 8 deletions
+5 -1
View File
@@ -112,7 +112,11 @@ async function run(context, plugins) {
await addNote({channels: [...currentRelease.channels, nextRelease.channel]}, nextRelease.gitHead, {cwd, env});
await push(options.repositoryUrl, {cwd, env});
await pushNotes(options.repositoryUrl, {cwd, env});
logger.success(`Add channel ${nextRelease.channel} to tag ${nextRelease.gitTag}`);
logger.success(
`Add ${nextRelease.channel ? `channel ${nextRelease.channel}` : 'default channel'} to tag ${
nextRelease.gitTag
}`
);
}
context.branch.tags.push({