NihalJain commented on code in PR #7196:
URL: https://github.com/apache/hbase/pull/7196#discussion_r2257788618
##########
dev-support/create-release/release-util.sh:
##########
@@ -153,13 +153,18 @@ function get_release_info {
ASF_GITHUB_WEBUI="https://raw.githubusercontent.com/apache/${PROJECT}"
fi
if [ -z "$GIT_BRANCH" ]; then
- # If no branch is specified, find out the latest branch from the repo.
- GIT_BRANCH="$(git ls-remote --heads "$ASF_REPO" |
- grep refs/heads/branch- |
- awk '{print $2}' |
- sort -r |
- head -n 1 |
- cut -d/ -f3)"
+ # Except for hbase main repo, all other repos usually release from master
branch
Review Comment:
Not really related. Can do this as another PR too!
--
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]