From f7fdf1a0ebbc2df9d15532bb036e20ea74d69ee4 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sat, 9 Sep 2023 13:50:02 +0200 Subject: [PATCH] Update auto_release.yml --- .github/workflows/auto_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index 77c94ac..29dbda0 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -24,7 +24,7 @@ jobs: - name: Get Previous Tag and Build Number id: build_number run: | - LATEST_TAG=$(git describe --tags --match "${{ matrix.folder }}-*" 2>/dev/null) + LATEST_TAG=$(git describe --tags --abbrev=0 --match "${{ matrix.folder }}-*" 2>/dev/null) echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV if [[ -n "$LATEST_TAG" ]]; then