File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ goreleaser :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+
18+ - uses : actions/setup-go@v5
19+ with :
20+ go-version-file : go.mod
21+
22+ - uses : goreleaser/goreleaser-action@v6
23+ with :
24+ version : latest
25+ args : release --clean
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ GITHUB_OWNER : MyAgentHubs
Original file line number Diff line number Diff line change @@ -22,19 +22,19 @@ archives:
2222 format : zip
2323 name_template : " aimemo_{{.Version}}_{{.Os}}_{{.Arch}}"
2424
25- brews :
26- - name : aimemo
27- repository :
28- owner : " {{ .Env.GITHUB_OWNER }}"
29- name : homebrew-tap
30- homepage : " https://github.com/{{ .Env.GITHUB_OWNER }}/aimemo"
31- description : " Zero-dependency MCP memory server for AI agents"
32- license : MIT
33- test : |
34- system "#{bin}/aimemo --version"
35- install : |
36- bin.install "aimemo"
37- generate_completions_from_executable(bin/"aimemo", "completion")
25+ # brews: (disabled until MyAgentHubs/homebrew-tap repo is created)
26+ # - name: aimemo
27+ # repository:
28+ # owner: "{{ .Env.GITHUB_OWNER }}"
29+ # name: homebrew-tap
30+ # homepage: "https://github.com/{{ .Env.GITHUB_OWNER }}/aimemo"
31+ # description: "Zero-dependency MCP memory server for AI agents"
32+ # license: MIT
33+ # test: |
34+ # system "#{bin}/aimemo --version"
35+ # install: |
36+ # bin.install "aimemo"
37+ # generate_completions_from_executable(bin/"aimemo", "completion")
3838
3939checksum :
4040 name_template : " checksums.txt"
Original file line number Diff line number Diff line change @@ -4,7 +4,12 @@ Found during local verification on 2026-02-18.
44
55## CLI UX
66
7- ### [ UX-3] ` aimemo --version ` 未实现
7+ ### [ UX-3] ~~ ` aimemo --version ` 未实现~~ FIXED
8+
9+ ### [ TODO-1] Homebrew tap 未配置
10+ - 需先创建 ` MyAgentHubs/homebrew-tap ` repo
11+ - 再取消 ` .goreleaser.yaml ` 中 ` brews: ` 块的注释
12+ - 然后在后续版本发布时启用
813- ` --version ` flag 不存在,报 "unknown flag"
914- 建议:在 root.go 加 ` rootCmd.Version = version ` (GoReleaser 已注入 ` main.version ` ldflags)
1015
You can’t perform that action at this time.
0 commit comments