Skip to content

Commit

Permalink
DEVOPS-00 Allow 0-9 pattern (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcpalmeida authored Apr 16, 2024
1 parent 05a952e commit c27b950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e

# When updating this RegEx, please, keep in mind that Bash only supports POSIX. I.e.: Bash doesn't support \d, so you need to explicitly use [0-9] or [[:digit:]]
echo "$1" | grep -oE '^((fix|feature|breaking-change)(\/))?([A-Z1-9]*-[^-]*[[:digit:]])-?.*' -
echo "$1" | grep -oE '^((fix|feature|breaking-change)(\/))?([A-Z0-9]*-[^-]*[[:digit:]])-?.*' -

[ $? -eq 0 ] && exit 0 || exit 1

0 comments on commit c27b950

Please sign in to comment.