We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ad1706 + 1295ff1 commit c49e58bCopy full SHA for c49e58b
.github/workflows/release.yml
@@ -38,7 +38,7 @@ jobs:
38
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
39
if [[ -z ${RELEASE_VERSION} ]]; then
40
git fetch --tags
41
- RELEASE_VERSION=$(git tag -l v* | tail -1)
+ RELEASE_VERSION=$(git tag --sort=v:refname -l v* | tail -1)
42
fi
43
RELEASE_VERSION=${RELEASE_VERSION#v}
44
echo "RELEASE_VERSION=${RELEASE_VERSION}"
0 commit comments