Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ repos:
?^cpp/examples/minimal_build/run\.sh$|
?^cpp/examples/tutorial_examples/run\.sh$|
?^dev/release/05-binary-upload\.sh$|
?^dev/release/07-binary-verify\.sh$|
?^dev/release/08-binary-verify\.sh$|
?^dev/release/binary-recover\.sh$|
?^dev/release/post-03-binary\.sh$|
?^dev/release/post-08-docs\.sh$|
Expand Down
File renamed without changes.
12 changes: 8 additions & 4 deletions dev/tasks/linux-packages/apache-arrow/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ class ApacheArrowPackageTask < PackageTask
end

def download_rc_archive
base_url = "https://github.com/#{github_repository}"
base_url += "/releases/download/apache-arrow-#{@version}"
archive_name_no_rc = @archive_name.gsub(/-rc\d+(\.tar\.gz)\z/, "\\1")
url = "#{base_url}/#{archive_name_no_rc}"
download(url, @archive_name)
sh("gh",
"release",
"download",
"apache-arrow-#{@version}",
"--clobber",
"--repo", github_repository,
"--pattern", archive_name_no_rc)
mv(archive_name_no_rc, @archive_name)
end

def download_released_archive
Expand Down
12 changes: 8 additions & 4 deletions docs/source/developers/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ Build source and binaries and submit them
archery crossbow status <crossbow-build-id>

# Download the produced binaries
# This will download packages to a directory called packages/release-<version>-rc<rc-number>
# This will download packages generated from the archery tasks
# to a directory called packages/release-<version>-rc<rc-number>
dev/release/04-binary-download.sh <version> <rc-number>

# Sign and upload the binaries
Expand All @@ -263,11 +264,14 @@ Build source and binaries and submit them
# NOTE: You need to have GitHub CLI installed to run this script.
dev/release/06-matlab-upload.sh <version> <rc-number>

# Move the Release Candidate GitHub Release from draft to published state
# This will update the artifacts download URL which will be available for the
# verification step.
dev/release/07-publish-gh-release.sh <version> <rc-number>

# Start verifications for binaries and wheels
dev/release/07-binary-verify.sh <version> <rc-number>
dev/release/08-binary-verify.sh <version> <rc-number>

# Move the Release Candidate GitHub Release from draft to published state
dev/release/08-publish-gh-release.sh <version> <rc-number>

Verify the Release
------------------
Expand Down
Loading