This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new b9453a2a33 GH-37329: [Release][Homebrew] Follow directory structure 
change (#37349)
b9453a2a33 is described below

commit b9453a2a33e935e26dc8358846ad671aefdcb4d0
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Aug 24 18:43:57 2023 +0900

    GH-37329: [Release][Homebrew] Follow directory structure change (#37349)
    
    ### Rationale for this change
    
        Before: Formula/apache-arrow-glib.rb
        After:  Formula/a/apache-arrow-glib.rb
    
    ### What changes are included in this PR?
    
    Remove `Formula/*/` from `Formula/a/apache-arrow-glib.rb` path to detect 
formula name.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * Closes: #37329
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 dev/release/post-13-homebrew.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/post-13-homebrew.sh b/dev/release/post-13-homebrew.sh
index 14f41b158f..fa73dd0d96 100755
--- a/dev/release/post-13-homebrew.sh
+++ b/dev/release/post-13-homebrew.sh
@@ -67,7 +67,7 @@ brew bump-formula-pr \
      apache-arrow-glib
 
 for dependency in $(grep -l -r 'depends_on "apache-arrow"' Formula); do
-  dependency=${dependency#Formula/}
+  dependency=${dependency#Formula/*/}
   dependency=${dependency%.rb}
   if [ ${dependency} = "apache-arrow-glib" ]; then
     continue

Reply via email to