From 8f003393dbbc7eedaaf1e1f8b232594338473c9c Mon Sep 17 00:00:00 2001 From: Nico Hormazabal Date: Tue, 13 Nov 2018 13:59:48 +0100 Subject: [PATCH] force always bump --- semtag | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/semtag b/semtag index 3c1b713..92d8c6a 100755 --- a/semtag +++ b/semtag @@ -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