We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c83e0 commit 0218853Copy full SHA for 0218853
.github/workflows/cron-auto-release.yaml
@@ -111,8 +111,8 @@ jobs:
111
run: |
112
if [[ "$BRANCH" != 'main' ]]; then
113
echo "Creating next tag name in sequence"
114
- # Get last tag for branch
115
- LAST_TAG=$(git describe --tags --match="v*" origin/"$BRANCH" --abbrev=0)
+ # Get last tag for glob
+ LAST_TAG=$(git tag -n 1 "v25.10*" --format='%(refname:strip=2)' | head -n 1)
116
echo "Found last tag=$LAST_TAG"
117
VNUM1=$(echo "$LAST_TAG" | cut -d"." -f1)
118
VNUM2=$(echo "$LAST_TAG" | cut -d"." -f2)
0 commit comments