diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54ee2a76b96bf..33fc8b8717024 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -195,6 +195,7 @@ repos: ?^ci/scripts/c_glib_build\.sh$| ?^ci/scripts/c_glib_test\.sh$| ?^c_glib/test/run-test\.sh$| + ?^dev/release/07-binary-verify\.sh$| ?^dev/release/utils-generate-checksum\.sh$| ) - repo: https://github.com/trim21/pre-commit-mirror-meson diff --git a/dev/release/07-binary-verify.sh b/dev/release/07-binary-verify.sh index 152e0979445ca..b0ad3d3dcb877 100755 --- a/dev/release/07-binary-verify.sh +++ b/dev/release/07-binary-verify.sh @@ -29,14 +29,17 @@ fi version=$1 rc=$2 -rc_branch="release-${version}-rc${rc}" +rc_tag="apache-arrow-${version}-rc${rc}" +repository="${REPOSITORY:-apache/arrow}" -archery crossbow \ - verify-release-candidate \ - --head-branch=${rc_branch} \ - --pr-title="WIP: [Release] Verify ${rc_branch}" \ - --rc=${rc} \ - --remote=https://github.com/apache/arrow \ - --verify-binaries \ - --verify-wheels \ - --version=${version} +run_id=$(gh run list \ + --branch "${rc_tag}" \ + --jq '.[].databaseId' \ + --json databaseId \ + --limit 1 \ + --repo "${repository}" \ + --workflow "verify_rc.yml") +gh run rerun \ + "${run_id}" \ + --failed \ + --repo "${repository}"