fixed regex pattern in autotagger
This commit is contained in:
parent
b75cd16c71
commit
24d7cdd2bc
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ jobs:
|
|||
id: check_commit_message
|
||||
run: |
|
||||
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]+.*)"
|
||||
if [ "$COMMIT_MESSAGE" =~ $PATTERN ]; then
|
||||
echo "Found version bump in commit message."
|
||||
echo "::set-output name=version::${BASH_REMATCH[1]}"
|
||||
|
|
Reference in a new issue