Skip to content

Commit e2fc17e

Browse files
committed
Add action url to release
1 parent 3128a87 commit e2fc17e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/jarbuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ jobs:
535535
run: |
536536
git config user.name "github-actions[bot]"
537537
git config user.email "github-actions[bot]@users.noreply.github.com"
538-
git tag -a "${{ steps.commit_ids.outputs.release_tag }}" -m "Release ${{ steps.commit_ids.outputs.release_name }} RC${{ steps.commit_ids.outputs.rc }}"
538+
git tag -a "${{ steps.commit_ids.outputs.release_tag }}" -m "Release ${{ steps.commit_ids.outputs.release_name }} RC${{ steps.commit_ids.outputs.rc }}" -m "Action URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
539539
git push origin "${{ steps.commit_ids.outputs.release_tag }}"
540540
env:
541541
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -544,7 +544,7 @@ jobs:
544544
# GH-499: How to create release notes?
545545
echo "Creating release: ${{ steps.commit_ids.outputs.release_tag }}"
546546
gh release create "${{ steps.commit_ids.outputs.release_tag }}" \
547-
--generate-notes \
547+
--notes-from-tag \
548548
--prerelease \
549549
--repo ${GITHUB_REPOSITORY} \
550550
--title "Apache Arrow Java ${{ steps.commit_ids.outputs.version }} RC${{ steps.commit_ids.outputs.rc }} (arrow-java: ${{ steps.commit_ids.outputs.arrow_java_commit }}, arrow: ${{ steps.commit_ids.outputs.arrow_commit }})"
@@ -557,4 +557,4 @@ jobs:
557557
$artifact
558558
done
559559
env:
560-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
560+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)