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

Commit 48dd891

Browse files
author
Kent C. Dodds
committed
fix(build): Moving set-url for remote? #455
1 parent 1d19c24 commit 48dd891

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/publish-latest.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ echo "setting global bot config"
77
git config --global user.email [email protected]
88
git config --global user.name formly-bot
99

10-
echo "setting remote"
11-
git remote set-url origin https://formly-bot:$BOT_GH_TOKEN@github.com/formly-js/angular-formly.git >/dev/null 2>/dev/null
12-
1310
echo "checking out latest"
1411
git remote show origin
1512
git remote update
1613
git fetch origin
1714
git checkout --track origin/latest
1815

16+
echo "setting remote"
17+
git remote set-url origin https://formly-bot:$BOT_GH_TOKEN@github.com/formly-js/angular-formly.git >/dev/null 2>/dev/null
18+
1919
echo "merging master"
2020
git merge origin/master -m "master merge" -X theirs
2121

0 commit comments

Comments
 (0)