Skip to content

Commit

Permalink
v0.0.0
Browse files Browse the repository at this point in the history
should match
  • Loading branch information
nmanu1 committed Oct 27, 2023
1 parent 4a7c279 commit 515249a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ 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]+\))?$ ]]
then
echo "matched first regex"
fi
if [[ $COMMIT_TITLE =~ ^Version [0-9]+\.[0-9]+\.[0-9]+( \(#[0-9]+\))?$ ]]
then
echo "matched second regex"
fi

0 comments on commit 515249a

Please sign in to comment.