Skip to content

Commit

Permalink
apacheGH-37329: [Release][Homebrew] Follow directory structure change (
Browse files Browse the repository at this point in the history
…apache#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: apache#37329

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
  • Loading branch information
kou authored Aug 24, 2023
1 parent 5995422 commit b9453a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/release/post-13-homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9453a2

Please sign in to comment.