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

Commit 0ba9e82

Browse files
author
Kent C. Dodds
committed
fix(build): formly-bot
1 parent adc6a66 commit 0ba9e82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/authorize-push.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ if (!(process.env.CI && GH_TOKEN && repo)) {
1010
console.log('Setting origin to ' + repo);
1111

1212
exec('git remote set-url origin ' + repo.replace('https://', 'https://' + GH_TOKEN + '@') + ' && ');
13-
exec('git config --global user.email formly-[email protected] && ');
13+
exec('git config --global user.email kent+formly-[email protected] && ');
1414
exec('git config --global user.name "formly-bot"');

scripts/publish-latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ echo "tagging with v$F_VERSION"
2828
git tag v${F_VERSION} -f
2929

3030
echo "pushing"
31-
git push https://github.com/formly-js/angular-formly.git latest --tags -f
31+
git push https://formly-bot:${BOT_GH_TOKEN}@github.com/formly-js/angular-formly.git latest --tags -f
3232

3333
echo "done!"
3434

0 commit comments

Comments
 (0)