-
Notifications
You must be signed in to change notification settings - Fork 23
/
.goreleaser.yml
41 lines (40 loc) · 990 Bytes
/
.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
before:
hooks:
- go mod tidy
builds:
- id: wins
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
binary: wins
main: cmd/main.go
ldflags:
- -s -w -X github.com/rancher/wins/pkg/defaults.AppVersion={{.Version}} -X github.com/rancher/wins/pkg/defaults.AppCommit={{.Commit}} -extldflags "-static"
- id: wins-container
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
binary: wins-container
main: cmd/main.go
ldflags:
- -s -w -X github.com/rancher/wins/pkg/defaults.AppVersion={{.Version}} -X github.com/rancher/wins/pkg/defaults.AppCommit=container -extldflags "-static"
checksum:
name_template: 'sha256sum.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^tests:'
- '^scripts:'