-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
60 lines (52 loc) · 1.08 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
57
58
59
60
project_name: abusech
before:
hooks:
- go mod tidy
- ./assets/scripts/completions.sh
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
binary: abusech
ldflags:
- -s -w -X main.build={{.Version}}
brews:
- tap:
owner: rollwagen
name: homebrew-tap
license: Apache-2.0
install: |-
bin.install "abusech"
bash_completion.install "completions/abusech.bash" => "abusech"
zsh_completion.install "completions/abusech.zsh" => "_abusech"
fish_completion.install "completions/abusech.fish"
checksum:
name_template: 'checksums.txt'
signs:
- cmd: cosign
stdin: '{{ .Env.COSIGN_PWD }}'
args:
- sign-blob
- --key=assets/cosign/cosign.key
- --output-signature=${signature}
- --yes
- ${artifact}
artifacts: checksum
archives:
- files:
- README.md
- LICENSE
- completions/*
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'