We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cda4f0 commit a729d9eCopy full SHA for a729d9e
.github/workflows/deploy.yml
@@ -25,11 +25,11 @@ jobs:
25
- name: Get latest tag
26
id: get_latest_tag
27
run: |
28
- if [ $(git tag -l | wc -l) -eq 0 ]; then
+ LATEST_TAG=$(git tag -l --sort=-v:refname | head -n 1)
29
+ if [ -z "$LATEST_TAG" ]; then
30
echo "No tags found"
31
exit 1
32
fi
- LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
33
echo "latest_tag=$LATEST_TAG" >> $GITHUB_ENV
34
35
- name: Extract Changelog
0 commit comments