Skip to content

Commit

Permalink
fix: still need to checkout branch even if NOSYNC=1
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 20, 2021
1 parent 1394541 commit 2eec21a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions please
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ trigger before-all
if [ -z "$TRAVIS" ] || [ "$DEPLOY_BRANCH" == "$TRAVIS_BRANCH" ]; then
info "Updating $DEPLOY_BRANCH ..."
[[ $NOSYNC -eq 0 ]] && qgit stash && qgit checkout $DEPLOY_BRANCH && qgit fetch --tags && qgit pull origin $DEPLOY_BRANCH --rebase
qgit checkout $DEPLOY_BRANCH # for NOSYNC=1
ok
else
info "Skip release"
Expand Down

0 comments on commit 2eec21a

Please sign in to comment.