some more changes to the autotagger
This commit is contained in:
parent
8dd784eb26
commit
09cc6844a8
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ 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]+(?:-[a-zA-Z0-9]+)?)$"
|
||||
if [ "$COMMIT_MESSAGE" =~ $PATTERN ]; then
|
||||
PATTERN="^(?:V|v)ersion\ bump(?:ed)?\ to\ ([0-9]+\.[0-9]+\.[0-9]+(?:-[a-zA-Z0-9]+)?)"
|
||||
if echo "$COMMIT_MESSAGE" | grep -E "$PATTERN"; then
|
||||
echo "Found version bump in commit message."
|
||||
echo "::set-output name=version::${BASH_REMATCH[1]}"
|
||||
else
|
||||
|
|
Reference in a new issue