Skip to content

Commit ae4a019

Browse files
committed
fix: adjust grep command
1 parent fae4636 commit ae4a019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Find latest stable v-prefixed tag
4242
id: latest_tag
4343
run: |
44-
LATEST_TAG=$(git tag -l 'v[0-9]*.[0-9]*.[0-9]*' --sort=-v:refname | grep -vE '-(beta|alpha|rc)' | head -1)
44+
LATEST_TAG=$(git tag -l 'v[0-9]*.[0-9]*.[0-9]*' --sort=-v:refname | grep -v -e '-beta' -e '-alpha' -e '-rc' | head -1)
4545
if [ -z "$LATEST_TAG" ]; then
4646
echo "No stable v-prefixed tag found. Exiting gracefully."
4747
echo "found=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)