Skip to content

Commit

Permalink
ci: release-homebrew workflow updated to remove the --force option in… (
Browse files Browse the repository at this point in the history
#828)

… PR bump

Issue #, if available:

*Description of changes:*
The latest release of Homebrew does not allow forcing multiple PRs
(Homebrew/brew#16664). This causes the
`release-homebrew` workflow to fail as it uses the `--force` option in
`bump-cask-pr` command which is disabled as of brew version 4.2.9. This
PR removes the `--force` flag to fix the workflow step.

Recent Homebrew workflow failure:
https://github.com/runfinch/finch/actions/runs/7997204281/job/21841199683

*Testing done:*



- [X] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Mrudul Harwani <[email protected]>
  • Loading branch information
mharwani authored Feb 22, 2024
1 parent 0f0c824 commit e20a725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
export HOMEBREW_NO_INSTALL_FROM_API=1
cd $(brew --repo homebrew/cask)
echo "Update the local Finch cask with version $FINCH_VERSION"
brew bump-cask-pr --write-only -f --version=$FINCH_VERSION finch
brew bump-cask-pr --write-only --version=$FINCH_VERSION finch
shell: zsh {0}
- name: Silently install
run: |
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
export HOMEBREW_NO_INSTALL_FROM_API=1
cd $(brew --repo homebrew/cask)
echo "Update the local Finch cask with version $FINCH_VERSION"
brew bump-cask-pr --write-only -f --version=$FINCH_VERSION finch
brew bump-cask-pr --write-only --version=$FINCH_VERSION finch
shell: zsh {0}
- name: Silently install
run: |
Expand Down

0 comments on commit e20a725

Please sign in to comment.