GH-34256: [Dev] Update release scripts with main as new default branch #34413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale for this change
This is a follow up task after switching the
apache/arrow
default branch name frommaster
tomain
. Usages ofmaster
were evaluated to determine whether they can be switched over tomain
.What changes are included in this PR?
Only once instance of usage of
master
was changed. The other usages depend onmaster
being used as the default branch in external repositories.This is a summary of my investigation:
post-04-ruby.sh
HEAD
instead ofmaster
to refer to the most updated version of the code.post-12-msys2.sh
master
is referring to the default branch ofmsys2/MINGW-packages
master
this will be kept until they swap over.post-13-homebrew.sh
master
in this file is similar to that ofpost-12-msys2.sh
. It is referring to the default branch of thehomebrew/homebrew-core
repository, which is still usingmaster
as the default branch.post-14-vcpkg.sh
master
in this file is similar to that ofpost-12-msys2.sh
. It is referring to the default branch of themicrosoft/vcpkg
repository, which is still usingmaster
as the default branch.post-15-conan.sh
master
in this file is similar to that ofpost-12-msys2.sh
. It is referring to the default branch of theconan-io/conan-center-index
repository, which is still usingmaster
as the default branch.Are these changes tested?
I verified the change in
post-04-ruby.sh
by navigating to the new URL and confirming the contents are the same as the existing URL. Additionally, existingrelease
CI tests will run as part of this pull request.Are there any user-facing changes?
No, users nor users of the development tools should see a difference in behavior from this change.