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 @@ -229,11 +229,12 @@ elif [[ -n $count_feature || -n $count_enhancement ]]; then
229229elif [[ -n $count_fix || -n $count_bugfix || -n $count_hotfix || -n $count_ops ]]; then
230230 newVersionMajor=$lastVersionMajor
231231 newVersionMinor=$lastVersionMinor
232+ newVersionPatch=$lastVersionPatch
232233 [[ -n $count_fix ]] && newVersionPatch=$(( lastVersionPatch + count_fix))
233234 [[ -n $count_bugfix ]] && newVersionPatch=$(( newVersionPatch + count_bugfix))
234235 [[ -n $count_hotfix ]] && newVersionPatch=$(( newVersionPatch + count_hotfix))
235236 [[ -n $count_ops ]] && newVersionPatch=$(( newVersionPatch + count_ops))
236- elif [[ -n $arg_p && -z $incrementMajor && -z $count_feature && -z $count_enhancement && -z $count_fix && -z $count_bugfix && -z $count_hotfix && -z $count_ops ]]; then
237+ elif [[ -n $arg_p ]]; then
237238 newVersionMajor=$lastVersionMajor
238239 newVersionMinor=$lastVersionMinor
239240 newVersionPatch=$(( lastVersionPatch + 1 ))
You can’t perform that action at this time.
0 commit comments