fixed some broken stuff in the autotagger
This commit is contained in:
parent
24d7cdd2bc
commit
8dd784eb26
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ jobs:
|
||||||
id: check_commit_message
|
id: check_commit_message
|
||||||
run: |
|
run: |
|
||||||
COMMIT_MESSAGE=$(echo "${{ steps.extract_commit_message.outputs.message }}")
|
COMMIT_MESSAGE=$(echo "${{ steps.extract_commit_message.outputs.message }}")
|
||||||
PATTERN="^(?:V|v)ersion\ bump(?:ed)?\ to\ ([0-9]+\.[0-9]+\.[0-9]+.*)"
|
PATTERN="^(?:V|v)ersion\ bump(?:ed)?\ to\ ([0-9]+\.[0-9]+\.[0-9]+(?:-[a-zA-Z0-9]+)?)$"
|
||||||
if [ "$COMMIT_MESSAGE" =~ $PATTERN ]; then
|
if [ "$COMMIT_MESSAGE" =~ $PATTERN ]; then
|
||||||
echo "Found version bump in commit message."
|
echo "Found version bump in commit message."
|
||||||
echo "::set-output name=version::${BASH_REMATCH[1]}"
|
echo "::set-output name=version::${BASH_REMATCH[1]}"
|
||||||
|
|
Reference in a new issue