forked from eksctl-io/eksctl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yml
More file actions
35 lines (32 loc) · 807 Bytes
/
.goreleaser.yml
File metadata and controls
35 lines (32 loc) · 807 Bytes
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
release: {name_template: "{{ .ProjectName }} {{ .Env.RELEASE_DESCRIPTION }}"}
builds:
- main: ./cmd/eksctl
binary: eksctl
flags:
- -tags
- netgo release
env:
- CGO_ENABLED=0
ldflags:
# gitTag set from a generated file (see ./tag_release.sh)
- -s -w -X github.com/weaveworks/eksctl/pkg/version.builtAt={{.Date}} -X github.com/weaveworks/eksctl/pkg/version.gitCommit={{.Commit}}
goos:
- windows
- darwin
- linux
goarch:
- amd64
archive:
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- none*
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"