Skip to content

Commit cb6437a

Browse files
committed
ci: update matching version
1 parent b5353de commit cb6437a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: check_commit
2525
run: |
2626
commit_message=$(git log -1 --pretty=%B)
27-
if [[ "$commit_message" =~ ^chore\(release\):\ ([0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
27+
if [[ "$commit_message" =~ ^chore\(release\):\ ([.0-9]+).* ]]; then
2828
version="${BASH_REMATCH[1]}"
2929
echo "is_release=true" >> $GITHUB_OUTPUT
3030
echo "version=$version" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)