We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 684f1e1 commit b300423Copy full SHA for b300423
1 file changed
.github/workflows/deploy.yml
@@ -37,7 +37,7 @@ jobs:
37
- name: Ensure tag is newer than latest
38
run: |
39
CURRENT="${{ steps.extract-tag.outputs.tag }}"
40
- LATEST=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
+ LATEST=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+([ab][0-9]+)?$' | head -n 1)
41
42
echo "Current tag: $CURRENT"
43
echo "Latest tag: $LATEST"
0 commit comments