From ea0b87f09e70f24cdb620397d6c81623b6fcb263 Mon Sep 17 00:00:00 2001 From: Damien Tardy-Panis Date: Tue, 16 May 2023 10:37:45 +0200 Subject: [PATCH] Fix git-semantic-tag to also find non annotated tags --- files/scripts/git/git-semantic-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/scripts/git/git-semantic-tag b/files/scripts/git/git-semantic-tag index 86bfeaf1..1a405337 100755 --- a/files/scripts/git/git-semantic-tag +++ b/files/scripts/git/git-semantic-tag @@ -61,7 +61,7 @@ get_next_tag() { semantic_tag() { PROJECT_NAME="$( basename "$( pwd )" )" - LAST_TAG="$( git describe --abbrev=0 )" + LAST_TAG="$( git describe --abbrev=0 --tags )" NEXT_TAG="$( get_next_tag "${LAST_TAG}" )" LOG="$( git shortlog --no-merges "${LAST_TAG}..HEAD" )" -- 2.45.2