Skip to content

Commit

Permalink
Use --generate-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 10, 2025
1 parent 8ef0cdd commit d507ab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ jobs:
name: archive
- name: Upload
run: |
# TODO: Add support for release note
# GH-499: How to create release notes?
version=${GITHUB_REF_NAME%-rc*}
version=${version#v}
rc=${GITHUB_REF_NAME#*-rc}
gh release create ${GITHUB_REF_NAME} \
--notes "TODO" \
--generate-notes \
--prerelease \
--title "Apache Arrow Java ${version} RC${rc}" \
--verify-tag \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ jobs:
gh release download ${latest_rc_tag} --dir dists
- name: Create GitHub Release
run: |
# GH-499: How to create release notes?
version=${GITHUB_REF_NAME#v}
gh release create ${GITHUB_REF_NAME} \
--notes "TODO" \
--generate-notes \
--title "Apache Arrow Java ${version}" \
--verify-tag \
dists/*

0 comments on commit d507ab9

Please sign in to comment.