Skip to content

Commit 2eec21a

Browse files
committed
fix: still need to checkout branch even if NOSYNC=1
1 parent 1394541 commit 2eec21a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

please

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ trigger before-all
260260
if [ -z "$TRAVIS" ] || [ "$DEPLOY_BRANCH" == "$TRAVIS_BRANCH" ]; then
261261
info "Updating $DEPLOY_BRANCH ..."
262262
[[ $NOSYNC -eq 0 ]] && qgit stash && qgit checkout $DEPLOY_BRANCH && qgit fetch --tags && qgit pull origin $DEPLOY_BRANCH --rebase
263+
qgit checkout $DEPLOY_BRANCH # for NOSYNC=1
263264
ok
264265
else
265266
info "Skip release"

0 commit comments

Comments
 (0)