-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
50 lines (48 loc) · 1.1 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
project_name: awsutil
env:
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/awsutil
id: awsutil
binary: awsutil
goos:
- darwin
goarch:
- amd64
flags:
- -mod=readonly
- -trimpath # removes all file system paths from the compiled executable
ldflags:
- -s -w
- -X github.com/deptofdefense/awsutil/pkg/version.commit={{ .Commit }}
archives:
- id: awsutil
name_template: '{{ .Binary }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
builds:
- awsutil
format: tar.gz
files:
- LICENSE
- README.md
checksum:
name_template: '{{ .ProjectName }}_{{ .Tag }}_SHA256SUMS'
algorithm: sha256
snapshot:
name_template: "SNAPSHOT-{{ .Commit }}"
changelog:
skip: true
release:
github:
owner: deptofdefense
name: awsutil
gomod:
proxy: true
# If proxy is true, use these environment variables when running `go mod` commands (namely, `go mod tidy`).
# Defaults to `os.Environ()`.
env:
- GOPROXY=https://proxy.golang.org,direct
- GOSUMDB=sum.golang.org
- GOPRIVATE=github.com/deptofdefense/awsutil