From a2a1f59789b7f739d63ab74ddaaf2ee65679ecde Mon Sep 17 00:00:00 2001 From: Nicolas Senave Date: Wed, 11 Dec 2024 14:03:43 +0100 Subject: [PATCH] chore(release ci): fix regex [skip ci] --- .github/workflows/create-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index be38b0a9d..18714c5f8 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -135,7 +135,7 @@ jobs: - name: Get previous final release tag id: previousTag - run: echo "previousTag=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | grep "^[0-9]+.[0-9]+.[0-9]+$" | tail -1)" >> $GITHUB_OUTPUT + run: echo "previousTag=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | grep "^[3-9]\.[0-9]\+\.[0-9]\+$" | tail -1)" >> $GITHUB_OUTPUT # Note: the regex works for single digit major version, to be updated if the version goes 10.0.0 or more - name: Create tag