Skip to content

Commit

Permalink
Version 0.27.0 (#0)
Browse files Browse the repository at this point in the history
now it should match
  • Loading branch information
nmanu1 committed Oct 27, 2023
1 parent 9f824fb commit 1881e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
COMMIT_MSG="${{ github.event.head_commit.message }}"
COMMIT_TITLE="${COMMIT_MSG%%$'\n'*}"
echo "${COMMIT_TITLE}"
if [[ $COMMIT_TITLE =~ ^v[0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?$ ]]
if [[ $COMMIT_TITLE =~ ^(v|Version )[0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?$ ]]
then
echo "matched first regex"
echo "matched regex"
else
echo "did not match"
fi

0 comments on commit 1881e50

Please sign in to comment.