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/arrowdefault branch name frommastertomain. Usages ofmasterwere evaluated to determine whether they can be switched over tomain.What changes are included in this PR?
Only once instance of usage of
masterwas changed. The other usages depend onmasterbeing used as the default branch in external repositories.This is a summary of my investigation:
post-04-ruby.shHEADinstead ofmasterto refer to the most updated version of the code.post-12-msys2.shmasteris referring to the default branch ofmsys2/MINGW-packagesmasterthis will be kept until they swap over.post-13-homebrew.shmasterin this file is similar to that ofpost-12-msys2.sh. It is referring to the default branch of thehomebrew/homebrew-corerepository, which is still usingmasteras the default branch.post-14-vcpkg.shmasterin this file is similar to that ofpost-12-msys2.sh. It is referring to the default branch of themicrosoft/vcpkgrepository, which is still usingmasteras the default branch.post-15-conan.shmasterin this file is similar to that ofpost-12-msys2.sh. It is referring to the default branch of theconan-io/conan-center-indexrepository, which is still usingmasteras the default branch.Are these changes tested?
I verified the change in
post-04-ruby.shby navigating to the new URL and confirming the contents are the same as the existing URL. Additionally, existingreleaseCI 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.