Skip to content

Commit

Permalink
Merge pull request #23 from mcfly-io/feat-hotfix-release
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelyoobic95 authored Feb 18, 2020
2 parents 3148821 + 8ab8adf commit 7613746
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 7613746

Please sign in to comment.