Skip to content

Commit

Permalink
chore(release ci): fix regex [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
nsenave committed Dec 11, 2024
1 parent ef01275 commit a2a1f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2a1f59

Please sign in to comment.