-
Notifications
You must be signed in to change notification settings - Fork 42
/
.goreleaser.yaml
56 lines (56 loc) · 1.23 KB
/
.goreleaser.yaml
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
# Check the documentation at https://goreleaser.com
version: 2
before:
hooks:
- go mod tidy
builds:
- id: score-compose
binary: score-compose
main: ./cmd/score-compose
ldflags:
- -X github.com/score-spec/score-compose/internal/version.Version={{ .Version }}
env:
- CGO_ENABLED=0
targets:
- linux_amd64_v1
- linux_arm64
- windows_amd64_v1
- darwin_amd64_v1
- darwin_arm64
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- name: score-compose
homepage: "https://score.dev"
repository:
owner: score-spec
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
commit_author:
name: rachfop
email: [email protected]
signs:
- cmd: cosign
signature: "${artifact}.sig"
certificate: "${artifact}.pem"
args:
- sign-blob
- '--oidc-provider=github-actions'
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- --yes
artifacts: all
output: true