Skip to content

Commit 57d9c34

Browse files
Pandaclaude
andcommitted
fix: pass HOMEBREW_TAP_GITHUB_TOKEN to GoReleaser; fix archive format deprecation
- release.yml: add HOMEBREW_TAP_GITHUB_TOKEN env var so GoReleaser can push the Homebrew formula to the tap repo - .goreleaser.yaml: format → formats (GoReleaser v2 deprecation fix) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 4191641 commit 57d9c34

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
GITHUB_OWNER: MyAgentHubs
29+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ builds:
1616
- -X main.version={{.Version}}
1717

1818
archives:
19-
- format: tar.gz
19+
- formats: [tar.gz]
2020
format_overrides:
2121
- goos: windows
22-
format: zip
22+
formats: [zip]
2323
name_template: "aimemo_{{.Version}}_{{.Os}}_{{.Arch}}"
2424

2525
brews:

0 commit comments

Comments
 (0)