Skip to content

Commit 8f168e3

Browse files
authored
Merge pull request #7 from AlexAtkinson/revert-6-fix/debug-counting-logic
Revert "debug counting logic"
2 parents 7962c8d + 9783daa commit 8f168e3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

scripts/detectNewVersion.sh

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ if [[ $incrementMajor != 'true' ]]; then
187187
IFS=$IFS_BAK
188188
fi
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

197197
if [[ -n $arg_f ]]; then
198198
true
@@ -225,13 +225,9 @@ 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
229228
[[ -n $count_bugfix ]] && newVersionPatch=$((newVersionPatch + count_bugfix))
230-
echo $newVersionPatch
231229
[[ -n $count_hotfix ]] && newVersionPatch=$((newVersionPatch + count_hotfix))
232-
echo $newVersionPatch
233230
[[ -n $count_ops ]] && newVersionPatch=$((newVersionPatch + count_ops))
234-
echo $newVersionPatch
235231
fi
236232

237233
newVersion=$(/usr/bin/env bash -c "${dir}/validateSemver.sh -9p full $newVersionMajor.$newVersionMinor.$newVersionPatch")

0 commit comments

Comments
 (0)