raulcd commented on code in PR #47600:
URL: https://github.com/apache/arrow/pull/47600#discussion_r2372325758
##########
dev/release/04-binary-download.sh:
##########
@@ -39,3 +42,22 @@ crossbow_job_prefix="release-${version_with_rc}"
: ${CROSSBOW_JOB_ID:="${crossbow_job_prefix}-${CROSSBOW_JOB_NUMBER}"}
archery crossbow download-artifacts --no-fetch ${CROSSBOW_JOB_ID} "$@"
+
+# Wait for the GitHub Workflow that creates the Linux packages
+# to finish before downloading the artifacts.
+. "${SOURCE_DIR}/utils-watch-gh-workflow.sh" "${release_tag}"
"package_linux.yml"
+
+RUN_ID=$(get_run_id)
+# Download the artifacts created by the package_linux.yml workflow
+download_artifacts "${SOURCE_DIR}/../../packages/${CROSSBOW_JOB_ID}"
Review Comment:
so you mean, for scheduled or PR/push use artifacts but if
`workflow_dispatch` was used, which is trigger of RC, upload to release? I
don't want to create a release every time the job is executed but that could
work. In that case we might use artifacts to test and upload to release if
tests are successful and job type was `workflow_dispatch`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]