File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -238,14 +238,15 @@ while [[ $# -gt 0 ]]; do
238238done
239239
240240[[ $REPO ]] || error " $( pwd) is not git repo" 1
241- [[ -z " $GH_AUTH_TOKEN " ]] && error " GH_AUTH_TOKEN missing" 1
241+ [[ " $VCS " == * " github " * ]] && [[ -z " $GH_AUTH_TOKEN " ]] && error " GH_AUTH_TOKEN missing" 1
242242
243243GPUSH=0 # git push pending
244244MAJOR=${MAJOR:- 0} # bump major
245245MINOR=${MINOR:- 0} # bump minor
246246VFILE=${VFILE:- 0} # create version file
247247CHLOG=${CHLOG:- 0} # create changelog file
248248YES=${YES:- 0} # assume yes
249+ NOSYNC=${NOSYNC:- 0} # do no sync deploy branch (faster for retry)
249250
250251GH_REPO=" github.com/repos/$REPO " TMP_LOG=$( mktemp -t PLZ.XXXXXXXXXX)
251252ok " Repository $REPO " && info " Log file $TMP_LOG "
You can’t perform that action at this time.
0 commit comments