Skip to content

Commit

Permalink
Add git checkout main to be able to see tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tonur committed Jan 19, 2024
1 parent 48a03e8 commit 3c82bea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Bump version
id: version
run: |
git checkout main
current_version=$(git tag --list 'v*' --sort=-v:refname | head -n 1 | sed 's/^v//')
if [[ -z $current_version ]]; then
current_version="0.0.0"
Expand Down

0 comments on commit 3c82bea

Please sign in to comment.