Skip to content

Commit

Permalink
force always bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Hormazabal committed Nov 13, 2018
1 parent 9a8cb46 commit 8f00339
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion semtag
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,12 @@ function increase_version {
else
__commitlist="$(git log --pretty=oneline $finalversion... | cat)"
fi


# If we are forcing a bump, we add bump to the commit list
if [ -z $__commitlist ] && [ "$forcetag" == "true" ]; then
__commitlist="bump"
fi

if [[ -z $__commitlist ]]; then
echo "No commits since the last final version, not bumping version"
else
Expand Down

0 comments on commit 8f00339

Please sign in to comment.