Skip to content

Commit 43dab40

Browse files
committed
Add step to download release candidate artifacts in release workflow
1 parent 5e295ed commit 43dab40

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: .github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
echo "VERSION_WITH_RC=${version_with_rc}" >> ${GITHUB_ENV}
5757
echo "VERSION=${version}" >> ${GITHUB_ENV}
5858
echo "RC_NUM=${rc_num}" >> ${GITHUB_ENV}
59+
- name: Download Release Candidate Artifacts
60+
run: |
61+
rc_tag=apache-arrow-${VERSION}-rc${RC_NUM}
62+
mkdir release_candidate_artifacts
63+
gh release download ${rc_tag} --dir release_candidate_artifacts
5964
- name: Create Release Title
6065
run: |
6166
title="Apache Arrow ${VERSION}"
@@ -70,4 +75,5 @@ jobs:
7075
gh release create ${GITHUB_REF_NAME} \
7176
--verify-tag \
7277
--title "${RELEASE_TITLE}" \
73-
--notes "Release Notes: ${RELEASE_NOTES}"
78+
--notes "Release Notes: ${RELEASE_NOTES}" \
79+
release_candidate_artifacts/*

0 commit comments

Comments
 (0)