File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -187,12 +187,12 @@ if [[ $incrementMajor != 'true' ]]; then
187187 IFS=$IFS_BAK
188188fi
189189
190- # echo "enh: $count_enhancement"
191- # echo "feat: $count_feature"
192- # echo "fix: $count_fix"
193- # echo "bug: $count_bugfix"
194- # echo "hot: $count_hotfix"
195- # echo "ops: $count_ops"
190+ echo " enh: $count_enhancement "
191+ echo " feat: $count_feature "
192+ echo " fix: $count_fix "
193+ echo " bug: $count_bugfix "
194+ echo " hot: $count_hotfix "
195+ echo " ops: $count_ops "
196196
197197if [[ -n $arg_f ]]; then
198198 true
@@ -225,9 +225,13 @@ elif [[ -n $count_fix || -n $count_bugfix || -n $count_hotfix || -n $count_ops ]
225225 newVersionMajor=$lastVersionMajor
226226 newVersionMinor=$lastVersionMinor
227227 [[ -n $count_fix ]] && newVersionPatch=$(( lastVersionPatch + count_fix))
228+ echo $newVersionPatch
228229 [[ -n $count_bugfix ]] && newVersionPatch=$(( newVersionPatch + count_bugfix))
230+ echo $newVersionPatch
229231 [[ -n $count_hotfix ]] && newVersionPatch=$(( newVersionPatch + count_hotfix))
232+ echo $newVersionPatch
230233 [[ -n $count_ops ]] && newVersionPatch=$(( newVersionPatch + count_ops))
234+ echo $newVersionPatch
231235fi
232236
233237newVersion=$( /usr/bin/env bash -c " ${dir} /validateSemver.sh -9p full $newVersionMajor .$newVersionMinor .$newVersionPatch " )
You can’t perform that action at this time.
0 commit comments