Skip to content

Commit

Permalink
Update release-prep.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiaComito authored Nov 4, 2024
1 parent f0f125d commit 247c82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-prep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: contains(github.event.issue.labels.*.name, 'release-prep')
run: |
issue_title="${{ github.event.issue.title }}"
regex="(?i)Prepare release v(\d+)\.(\d+)\.(\d+)"
regex="^v(\d+)\.(\d+)\.(\d+)$"
if [[ $issue_title =~ $regex ]]; then
echo "major=${BASH_REMATCH[1]}" >> $GITHUB_OUTPUT
echo "minor=${BASH_REMATCH[2]}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 247c82e

Please sign in to comment.