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:
2026-10-03 04:44:06 +01:00
parent a50713a835
commit 1b62a018ec
6 changed files with 23 additions and 17 deletions
+3 -1
View File
@@ -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