Skip to content

Commit 4722169

Browse files
committed
Update brew before updating formula
Before create a PR to homebrew/homebrew-core we need to be sure that local instance of homebre/homebrew-core is up-to-date otherwise it could create merge conflicts. See Homebrew/homebrew-core#61260 (comment) See Homebrew/homebrew-core#61823
1 parent 94fb414 commit 4722169

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
run: echo "::set-env name=RELEASE_TAG::${GITHUB_REF/refs\/tags\/}"
5454
- name: Create homebrew PR
5555
run: |
56+
brew update-reset
5657
brew bump-formula-pr --tag "$RELEASE_TAG" --revision "$GITHUB_SHA" cbmc
5758
env:
5859
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.DB_CI_CPROVER_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)