Skip to content

Commit

Permalink
feat(hotfix): add hf for hotfix createRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelyoobic95 committed Feb 18, 2020
1 parent 3148821 commit 8ab8adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/mcfly-semantic-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ fileHelper.getFiles(args.files)
.delay(1000)
.then((msg) => {
console.log(chalk.yellow('Publishing version...'));
if (args.hotfix) {
msg.nextVersion = `${msg.nextVersion}-hf`;
}
return retryHelper
.retry(function () {
return githubHelper.createRelease(msg);
Expand Down

0 comments on commit 8ab8adf

Please sign in to comment.