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

Commit 3cc8188

Browse files
author
Kent C. Dodds
committed
fix(build): Checkout origin/latest
Getting when checking out the other way ref #455
1 parent 354b797 commit 3cc8188

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/publish-latest.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ echo "setting remote"
1111
git remote set-url origin https://formly-bot:$BOT_GH_TOKEN@github.com/formly-js/angular-formly.git >/dev/null 2>/dev/null
1212

1313
echo "checking out latest"
14-
git fetch
15-
git checkout latest
14+
git checkout -t -b latest origin/latest
1615

1716
echo "merging master"
1817
git merge origin/master -m "master merge" -X theirs

0 commit comments

Comments
 (0)