-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yaml
39 lines (39 loc) · 1001 Bytes
/
.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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
targets:
- linux_amd64_v1
- linux_arm64
- darwin_amd64_v1
- darwin_arm64
- windows_amd64_v1
ignore:
- goos: windows
goarch: arm64
binary: kubectl-ssm_secret
main: ./cmd/kubectl-ssm_secret/main.go
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w -X github.com/pr8kerl/kubectl-ssm-secret/pkg/cmd.version={{.Version}}
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'