Skip to content

Commit 39c7c62

Browse files
Fix tag sorting to remove malformed tags (#135)
1 parent 7f8fe10 commit 39c7c62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/bump-version-beta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
git fetch --tags
3030
STABLE=$(git tag --list "v*" \
3131
| grep -Ev -- '-beta' \
32+
| grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' \
3233
| sort -V \
3334
| tail -n 1)
3435
STABLE=${STABLE:-v0.0.0}

0 commit comments

Comments
 (0)