Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
fix(semantic-release): add push for master as well
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Sep 26, 2018
1 parent 2cde44e commit d223345
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release/success.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const connect = require('simple-git/promise');
await repo.checkout('dev');
await repo.raw(['rebase', '--root', 'dev', '--onto', 'master']);
await repo.push('origin', 'dev', `--repo=${authOrigin}`);
await repo.push('origin', 'master', `--repo=${authOrigin}`);
console.log('Rebase finished.');
}
catch (error) {
Expand Down

0 comments on commit d223345

Please sign in to comment.