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

Commit b24bb6f

Browse files
author
Kent C. Dodds
committed
fix(build): Updating scripts
1 parent 43c3393 commit b24bb6f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/authorize-push.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ if (!(process.env.CI && GH_TOKEN && repo)) {
77
process.exit(1);
88
}
99

10+
console.log('Setting origin to ' + repo);
11+
1012
exec('git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ');
11-
exec('git config user.email [email protected] && ');
12-
exec('git config user.name "formly-bot"');
13+
exec('git config --global user.email [email protected] && ');
14+
exec('git config --global user.name "formly-bot"');

0 commit comments

Comments
 (0)