-
Notifications
You must be signed in to change notification settings - Fork 23
/
.goreleaser.yaml
44 lines (44 loc) · 1.03 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
project_name: outdated
release:
github:
owner: replicatedhq
name: outdated
builds:
- id: outdated
goos:
- linux
- windows
- darwin
goarch:
- amd64
- "386"
env:
- CGO_ENABLED=0
- GO111MODULE=on
main: cmd/outdated/main.go
ldflags: -s -w
-X github.com/replicatedhq/outdated/pkg/version.version={{.Version}}
-X github.com/replicatedhq/outdated/pkg/version.gitSHA={{.Commit}}
-X github.com/replicatedhq/outdated/pkg/version.buildTime={{.Date}}
-extldflags "-static"
flags: -tags netgo -installsuffix netgo
binary: outdated
hooks: {}
archives:
- id: outdated
builds:
- outdated
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}-{{ .Major }}.{{ .Minor }}.{{ .Patch }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*