Skip to content

Commit

Permalink
Merge pull request #112 from taikoxyz/fix-release-tag-remote
Browse files Browse the repository at this point in the history
fix-release-tag-remote
  • Loading branch information
bennettyong authored Oct 15, 2024
2 parents 5d29443 + 735a168 commit a130319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Get the current tag
id: get_tag
run: |
TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
TAG=$(git ls-remote --tags --sort=committerdate | grep -o 'v.*' | sort -r | head -1)
echo "Current tag: $TAG"
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit a130319

Please sign in to comment.