-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
63 lines (56 loc) · 1.3 KB
/
.goreleaser.yml
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
env_files:
github_token: .githubtoken
before:
hooks:
- go mod tidy
builds:
- id: ssh-sentinel-server
main: ./cmd/ssh-sentinel-server/main.go
binary: ssh-sentinel-server
goarch:
- amd64
goos:
- linux
- id: ssh-sentinel-client
main: ./cmd/ssh-sentinel-client/main.go
binary: ssh-sentinel-client
goarch:
- amd64
goos:
- linux
archives:
- id: ssh-sentinel-server
builds:
- ssh-sentinel-server
files:
- samples
- README.md
- LICENSE
name_template: &name_template
'{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
- id: ssh-sentinel-client
builds:
- ssh-sentinel-client
files:
- README.md
- LICENSE
name_template: *name_template
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- id: signify
signature: ${artifact}.sig
cmd: signify
args: ["-S", "-s", "{{ .Env.HOME }}/.signify/st2projects-code-signing.sec", "-m", "${artifact}", "-x", "${artifact}.sig"]
artifacts: checksum
release:
prerelease: auto
mode: keep-existing