Skip to content

Commit

Permalink
Fix MacOS brew release (#4622)
Browse files Browse the repository at this point in the history
It looks like the semantics of `brew tap` have changed from `brew`
version `4.3.16` to `4.3.18` (a recent change to the public github macos
runners). `brew tap` now no longer takes an arbitrary `file://...`
path... the path must be a git repo. The fix seems to be to `git init`
the folder before calling `brew tap`
  • Loading branch information
goodlyrottenapple authored Sep 3, 2024
1 parent dc4e8d9 commit f5e2adc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ jobs:
# test suite, so the PL-tutorial is disabled for now.
# - https://github.com/runtimeverification/k/issues/3705
cd homebrew-k-old
# brew tap expects a git repository, so we initialise the current folder as a dummy repo
git init
brew tap runtimeverification/k "file:///$(pwd)"
brew install ${{ needs.macos-build.outputs.bottle_path }} -v
# cp -R /usr/local/share/kframework/pl-tutorial ~
Expand Down

0 comments on commit f5e2adc

Please sign in to comment.