fixing the autotagger
Some checks failed
Actions / Build Documentation (push) Successful in 12s
Actions / Build Export Files (push) Successful in 5s
Autotagger / Autotagger (push) Failing after 3s

This commit is contained in:
SeaswimmerTheFsh 2024-03-11 20:37:55 -04:00
parent f1eb535efb
commit cd8e1c65ae
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -20,7 +20,8 @@ jobs:
id: check_commit_message
run: |
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 "::set-output name=version::${BASH_REMATCH[1]}"
else