Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Commit

Permalink
fix(build): Updating scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Aug 28, 2015
1 parent 43c3393 commit b24bb6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/authorize-push.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if (!(process.env.CI && GH_TOKEN && repo)) {
process.exit(1);
}

console.log('Setting origin to ' + repo);

exec('git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ');
exec('git config user.email formly-js@angular-formly.com && ');
exec('git config user.name "formly-bot"');
exec('git config --global user.email formly-js@angular-formly.com && ');
exec('git config --global user.name "formly-bot"');

0 comments on commit b24bb6f

Please sign in to comment.