fixing the autotagger
This commit is contained in:
parent
f1eb535efb
commit
cd8e1c65ae
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ 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 }}")
|
||||||
if [[ $COMMIT_MESSAGE =~ ^Version\ bumped\ to\ ([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
PATTERN="Version bump(?:ed)? to ([0-9]+\.[0-9]+\.[0-9]+)"
|
||||||
|
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]}"
|
||||||
else
|
else
|
||||||
|
|
Reference in a new issue