-
Notifications
You must be signed in to change notification settings - Fork 749
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
133 lines (125 loc) · 3.68 KB
/
Copy path.goreleaser.yaml
File metadata and controls
133 lines (125 loc) · 3.68 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
version: 2
project_name: gentle-ai
before:
hooks:
- go run ./internal/providercontractbundlecmd generate --out .goreleaser-provider-contract
- rm -rf .goreleaser-provenance
- mkdir -p .goreleaser-provenance
- go run ./internal/releaseprovenancecmd --out .goreleaser-provenance/manifest.json --config .goreleaser.yaml --goreleaser-version v2.15.2
builds:
- main: ./cmd/gentle-ai
binary: gentle-ai
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- >-
-s -w
-X main.version={{ .Version }}
-X github.com/gentleman-programming/gentle-ai/v2/internal/update/upgrade.releaseMinisignPublicKeys={{ .Env.MINISIGN_PUBLIC_KEYS_CANONICAL }}
archives:
- formats:
- tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE
- README.md
- docs/review-integration.md
- contracts/review-integration/v1/FREEZE.md
- contracts/review-integration/v1/schemas/*.schema.json
- contracts/review-integration/v1/fixtures/*.fixture.json
- contracts/review-integration/v2/schemas/*.schema.json
- contracts/review-integration/v2/fixtures/*.fixture.json
- id: review-provider-contract
meta: true
formats:
- tar.gz
name_template: "gentle-ai-review-provider-contract-{{ .Env.PROVIDER_CONTRACT_SEMVER }}"
files:
- src: .goreleaser-provider-contract/README.md
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
- src: .goreleaser-provider-contract/manifest.json
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
- src: .goreleaser-provider-contract/orchestration/*.md
dst: orchestration
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
- src: .goreleaser-provider-contract/schemas/*.schema.json
dst: schemas
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
- src: .goreleaser-provider-contract/vectors/*.json
dst: vectors
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
- id: release-provenance
meta: true
formats:
- tar.gz
name_template: "gentle-ai-release-provenance-v1"
files:
- src: .goreleaser-provenance/manifest.json
strip_parent: true
info:
mode: 0644
mtime: "1970-01-01T00:00:00Z"
checksum:
name_template: "checksums.txt"
algorithm: sha256
# Sign only the checksum manifest. The signed trusted comment binds the exact
# repository and tag; the updater rejects a valid signature copied from any
# other release identity.
signs:
- cmd: minisign
artifacts: checksum
signature: ${artifact}.minisig
args:
- "-S"
- "-s"
- "{{ .Env.MINISIGN_SECRET_KEY_FILE }}"
- "-m"
- "${artifact}"
- "-x"
- "${signature}"
- "-c"
- "signature from gentle-ai release"
- "-t"
- "repo=Gentleman-Programming/gentle-ai;tag={{ .Tag }}"
output: true
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
brews:
- repository:
owner: Gentleman-Programming
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
name: gentle-ai
homepage: "https://github.com/Gentleman-Programming/gentle-ai"
description: "Gentle-AI — Ecosystem, Frameworks, Workflows for AI coding agents."
license: "MIT"
commit_msg_template: "chore: update gentle-ai formula to {{ .Tag }}"