lafiona commented on a change in pull request #12489:
URL: https://github.com/apache/arrow/pull/12489#discussion_r817903070



##########
File path: dev/release/post-14-homebrew.sh
##########
@@ -40,10 +40,12 @@ fi
 echo "Updating working copy"
 git fetch --all --prune --tags --force -j$(nproc)
 
+SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+source "${SOURCE_DIR}/git-vars.sh"
 branch=apache-arrow-${version}
 echo "Creating branch: ${branch}"
 git branch -D ${branch} || :
-git checkout -b ${branch} origin/master
+git checkout -b ${branch} origin/${DEFAULT_BRANCH}

Review comment:
       Same as above.




-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to