Skip to content

Commit

Permalink
fix how to get latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marianina8 committed May 24, 2024
1 parent 98334e3 commit 9bf3eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- name: Find Latest Tag
id: latesttag
run: |
latest_tag=$(git tag -l | sort -V | tail -n 1)
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "latest_tag=$latest_tag" >> $GITHUB_ENV
- name: Print Working Directory
run: pwd
Expand Down

0 comments on commit 9bf3eea

Please sign in to comment.