Skip to content

Commit

Permalink
fix: sort tags by version
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed May 28, 2024
1 parent 3fdabdf commit 4ea9a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: 🔎 Read Latest Project Version
id: current-version
run: |
echo "tag=$(git tag --sort=committerdate | tail -1)" >> "$GITHUB_OUTPUT"
echo "tag=$(git tag --sort=v:refname | tail -1)" >> "$GITHUB_OUTPUT"
- name: 🖨 Print Current Version
run: |
Expand Down

0 comments on commit 4ea9a97

Please sign in to comment.