From e20a7253df75e89bf2ba1c195ce68a6bd1ff63a6 Mon Sep 17 00:00:00 2001 From: Mrudul Harwani Date: Thu, 22 Feb 2024 22:32:32 +0530 Subject: [PATCH] =?UTF-8?q?ci:=20release-homebrew=20workflow=20updated=20t?= =?UTF-8?q?o=20remove=20the=20--force=20option=20in=E2=80=A6=20(#828)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … PR bump Issue #, if available: *Description of changes:* The latest release of Homebrew does not allow forcing multiple PRs (https://github.com/Homebrew/brew/pull/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 --- .github/workflows/release-homebrew.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-homebrew.yaml b/.github/workflows/release-homebrew.yaml index c27acd11d..1356ca52f 100644 --- a/.github/workflows/release-homebrew.yaml +++ b/.github/workflows/release-homebrew.yaml @@ -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: | @@ -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: |