fix(release): use brews instead of homebrew_casks for formula publishing
The original PR used homebrew_casks: which generates Cask-format files, but the existing tap (steveyegge/homebrew-beads) uses Formula-class format. Switch to brews: which generates the correct formula format. Also add skip_upload: auto so releases succeed even without HOMEBREW_TAP_TOKEN. Co-authored-by: peterkc <peterkc@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Executed-By: beads/crew/emma Rig: beads Role: crew
This commit is contained in:
parent
f14c29f07b
commit
7bc8fe1884
2 changed files with 5 additions and 4 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Homebrew tap publishing (requires PAT with contents:write on homebrew-beads)
|
||||
# If not set, goreleaser skips the brew publish step gracefully
|
||||
# If not set, goreleaser skips tap upload (skip_upload: auto in .goreleaser.yml)
|
||||
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
# Windows code signing (optional - signing is skipped if not set)
|
||||
WINDOWS_SIGNING_CERT_PFX_BASE64: ${{ secrets.WINDOWS_SIGNING_CERT_PFX_BASE64 }}
|
||||
|
|
|
|||
|
|
@ -194,18 +194,19 @@ archives:
|
|||
- README.md
|
||||
- CHANGELOG.md
|
||||
|
||||
homebrew_casks:
|
||||
brews:
|
||||
- name: bd
|
||||
repository:
|
||||
owner: steveyegge
|
||||
name: homebrew-beads
|
||||
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
||||
directory: Formula
|
||||
skip_upload: auto
|
||||
homepage: "https://github.com/steveyegge/beads"
|
||||
description: "AI-supervised issue tracker for coding workflows"
|
||||
license: "MIT"
|
||||
binaries:
|
||||
- bd
|
||||
install: |
|
||||
bin.install "bd"
|
||||
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue