Skip to content

Commit

Permalink
Merge pull request #232 from openziti/get.prerelease.tags.too
Browse files Browse the repository at this point in the history
get tags of prereleases
  • Loading branch information
scareything authored Jul 3, 2024
2 parents e181fd7 + 4a4bc1a commit bcbdd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Get Release
id: get_release
run: |
tag_name=$(gh release view --json tagName --jq .tagName)
tag_name=$(gh release list --exclude-drafts -L1 --json tagName --jq '.[0].tagName')
echo "tag_name=${tag_name}" | tee -a $GITHUB_OUTPUT
tag_suffix=$(echo -n "${tag_name}" | cut -s -d '-' -f 2-)
dist_branch=$(echo -n ${tag_suffix:-main})
Expand Down

0 comments on commit bcbdd09

Please sign in to comment.