-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yml
42 lines (38 loc) · 913 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
42
before:
hooks:
- go mod tidy
builds:
-
binary: cliam
dir: cli/
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: "386"
- goos: windows
goarch: arm64
hooks:
post:
- upx "{{ .Path }}"
ldflags: "-s -w -X github.com/securisec/cliam/cli/version.BuildDate={{ .CommitDate }} -X github.com/securisec/cliam/cli/version.GitCommit={{ .FullCommit }} -X github.com/securisec/cliam/cli/version.GitBranch={{ .Branch }} -X github.com/securisec/cliam/cli/version.Version={{ .Tag }}"
checksum:
name_template: cliam_cli_checksums.txt
archives:
-
# format: binary
name_template: build/cliam-{{.Os}}-{{.Arch}}
replacements:
amd64: 64bit
darwin: macOS
# files:
# -
# blobs:
# - provider: s3
# bucket: cliam-releases
# folder: cli/