forked from openclarity/vmclarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
52 lines (45 loc) · 1.07 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
51
52
builds:
-
id: "cli"
dir: cli
binary: vmclarity-cli
env:
- CGO_ENABLED=0
ldflags:
- "-s -w"
- "-X github.com/openclarity/vmclarity/pkg/version.Version={{ .Version }}"
- "-X github.com/openclarity/vmclarity/pkg/version.CommitHash={{.Commit}}"
- "-X github.com/openclarity/vmclarity/pkg/version.BuildTimestamp={{.Timestamp}}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
-
id: "cli"
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
# Additional files/template/globs we want to add to the archive.
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
# Change the default artifacts folder
dist: goreleaser_artifacts
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
use: github-native
filters:
exclude:
- '^docs:'
- '^test:'
- '^workflow:'
- Merge pull request
- Merge remote-tracking branch
release:
extra_files:
- glob: ./installation/aws/VmClarity.cfn