-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.goreleaser.yml
More file actions
92 lines (84 loc) · 1.89 KB
/
.goreleaser.yml
File metadata and controls
92 lines (84 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: 2
project_name: ckb
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: ckb
main: ./cmd/ckb
binary: ckb
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/SimplyLiz/CodeMCP/internal/version.Version={{.Version}}
- -X github.com/SimplyLiz/CodeMCP/internal/version.Commit={{.ShortCommit}}
- -X github.com/SimplyLiz/CodeMCP/internal/version.BuildDate={{.Date}}
# Ignore non-existent directories that might appear in go:generate
ignore:
- goos: windows
goarch: arm64
archives:
- id: default
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
files:
- README.md
- LICENSE*
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\(.+\))?\!?:.+$'
order: 0
- title: Bug Fixes
regexp: '^.*?fix(\(.+\))?\!?:.+$'
order: 1
- title: Documentation
regexp: '^.*?docs(\(.+\))?\!?:.+$'
order: 2
- title: Others
order: 999
filters:
exclude:
- '^test:'
- '^chore:'
- Merge pull request
- Merge branch
brews:
- repository:
owner: SimplyLiz
name: homebrew-ckb
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
homepage: "https://github.com/SimplyLiz/CodeMCP"
description: "Code intelligence orchestration layer for AI-assisted development"
skip_upload: false
install: |
bin.install "ckb"
test: |
assert_match version.to_s, shell_output("#{bin}/ckb version")
release:
github:
owner: SimplyLiz
name: CodeMCP
prerelease: auto
draft: false
name_template: "CKB v{{.Version}}"