From a8d7b9873c7aa4eb18296465eb4ca0f2bd79670f Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Thu, 19 Oct 2023 12:31:05 +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 d4f8d93..fadbcc4 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 --abbrev=0 --match "${{ matrix.folder }}-*" 2>/dev/null) + LATEST_TAG=$(git describe --tags --abbrev=0 --match "${{ matrix.folder }}-[0-9]*" 2>/dev/null) echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV PREVIOUS_VERSION=$(echo $LATEST_TAG | awk -F'[-_]' '{print $(NF-1)}')