Skip to content

Commit

Permalink
use build vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lriggs committed Feb 25, 2025
1 parent 7934eab commit 602fe46
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/jarbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,12 @@ jobs:
- name: Upload
run: |
# GH-499: How to create release notes?
version=${release_tag_name%-rc*}
echo "${{github.event.inputs.release_tag_name}}"
ver=$(echo ${{github.event.inputs.release_tag_name}})
version=${ver%-rc*}
version=${version#v}
rc=${release_tag_name#*-rc}
gh release create ${release_tag_name} \
rc=${ver#*-rc}
gh release create ${{github.event.inputs.release_tag_name}} \
--generate-notes \
--prerelease \
--repo ${GITHUB_REPOSITORY} \
Expand Down

0 comments on commit 602fe46

Please sign in to comment.