File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,8 +240,8 @@ while [[ $# -gt 0 ]]; do
240240 esac
241241done
242242
243- [[ $REPO ]] || error " $( pwd) is not git repo" 1
244- [[ " $VCS " == * " github" * ]] && [[ -z " $GH_AUTH_TOKEN " ]] && error " GH_AUTH_TOKEN missing" 1
243+ [[ $REPO ]] || error " $( pwd) is not git repo" 1 # exit
244+ [[ " $VCS " == * " github" * ]] && [[ -z " $GH_AUTH_TOKEN " ]] && error " GH_AUTH_TOKEN missing" 1 # exit
245245
246246GPUSH=0 # git push pending
247247MAJOR=${MAJOR:- 0} # bump major
@@ -278,7 +278,7 @@ info "Collecting commits ..."
278278COMMITS=$( organize-commits " $RANGE " " $TYPES " )
279279ok
280280
281- [[ $COMMITS ]] || error " Nothing to release" 0
281+ [[ $COMMITS ]] || error " Nothing to release" 0 # exit
282282
283283echo $COMMITS >> $TMP_LOG
284284
@@ -305,7 +305,7 @@ ok " Done [$NEXT_VERSION]"
305305if [[ $YES -eq 0 ]]; then
306306 read -p " Are you sure to release [$NEXT_VERSION ]? [y/N] " -n 1 -r
307307 echo
308- [[ $REPLY =~ ^[Yy]$ ]] || error " Not releasing $NEXT_VERSION " 1
308+ [[ $REPLY =~ ^[Yy]$ ]] || error " Skipping release for $NEXT_VERSION " 1 # exit
309309fi
310310
311311# changelog backup
You can’t perform that action at this time.
0 commit comments