Skip to content

Commit

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

0 comments on commit d369fc0

Please sign in to comment.