mirror of
https://github.com/lukaszraczylo/homebrew-taps.git
synced 2026-10-12 00:45:10 +00:00
fix(casks): rewrite postflight blocks in the test workflow
GoReleaser regenerates each cask with a postflight block, which Homebrew rejects. A script now rewrites it to postflight_steps before test-bot runs. The four current casks are rewritten as well.
This commit is contained in:
@@ -37,7 +37,9 @@ jobs:
|
||||
continue-on-error: true
|
||||
|
||||
- name: Fix style issues from GoReleaser-generated files
|
||||
run: brew style --fix Casks/*.rb || true
|
||||
run: |
|
||||
scripts/fix-casks.sh
|
||||
brew style --fix Casks/*.rb || true
|
||||
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
||||
|
||||
- run: brew test-bot --only-tap-syntax
|
||||
|
||||
Reference in New Issue
Block a user