lafiona opened a new pull request #12489:
URL: https://github.com/apache/arrow/pull/12489
## Overview
This pull request is part of a larger effort to rename the default branch
from `master` to `main`. In order to enable a smooth transition and streamline
any future renaming tasks, the default branch name is computed and used.
## Implementation
1. Added a script, `git-vars.sh` that computes the `DEFAULT_BRANCH` of a git
repository. Calculations for other required git variables, in the future, can
be added to this script.
2. For the following release scripts, hardcoded references to 'master' have
been replaced with the value of `DEFAULT_BRANCH`:
- `01-prepare.sh`
- `post-04-website.sh`
- `post-05-ruby.sh`
- `post-09-docs.sh`
- `post-12-bump-versions.sh`
-` post-13-msys2.sh`
- `post-14-homebrew.sh`
3. The changes to `01-prepare.sh` and 'post-12-bump.sh` are required for
renaming the default branch name for `apache/arrow`. However, the changes for
the remaining files are done preemptively in anticipation of other repositories
renaming the `master` branch.
## Testing
1. Testing details to be shared.
## Notes
1. Thank you @kevingurney, for helping me with this pull request!
--
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]