From b392dfbfd58efe4f579b44d1e358781d9fae2a39 Mon Sep 17 00:00:00 2001 From: Jinwoo Hwang Date: Thu, 18 Dec 2025 07:59:36 -0500 Subject: [PATCH] Fix promote_rc.sh: Update Homebrew formula path for apache-geode In December 2021, Homebrew reorganized the homebrew-core repository structure to improve performance as the number of formulas grew. The flat Formula/ directory was split into alphabetically organized subdirectories (Formula/a/, Formula/b/, etc.). Since apache-geode starts with 'a', the formula file moved from: Formula/apache-geode.rb to: Formula/a/apache-geode.rb This change updates promote_rc.sh to cd into Formula/a/ instead of Formula/, which has been the correct structure for over 3 years. Without this fix, the script fails with 'No such file or directory' when attempting to update the apache-geode formula during the release promotion process. Reference: Homebrew/homebrew-core#91469 --- dev-tools/release/promote_rc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/release/promote_rc.sh b/dev-tools/release/promote_rc.sh index 9d8459a443de..af48a4c4de13 100755 --- a/dev-tools/release/promote_rc.sh +++ b/dev-tools/release/promote_rc.sh @@ -231,7 +231,7 @@ else echo "Updating brew" echo "============================================================" set -x - cd ${BREW_DIR}/Formula + cd ${BREW_DIR}/Formula/a git pull git remote add myfork git@github.com:${GITHUB_USER}/homebrew-core.git || true if ! git fetch myfork ; then