We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b203b6e commit 08f7a66Copy full SHA for 08f7a66
.github/workflows/release.yml
@@ -199,7 +199,7 @@ jobs:
199
echo "::group::Version generation"
200
# Get the latest tag from git
201
git fetch --tags
202
- LATEST_TAG=$(git describe --tags --match 'v*' --abbrev=0 2>/dev/null || echo "v0.0.0")
+ LATEST_TAG=$(git describe --tags --match 'v[0-9]*.[0-9]*.[0-9]*' --abbrev=0 2>/dev/null || echo "v0.0.0")
203
echo "Latest tag: $LATEST_TAG"
204
205
# Parse the latest tag to get major, minor, and patch
0 commit comments