forked from databus23/helm-diff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
40 lines (38 loc) · 855 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
# To test this manually, run:
# go install github.com/goreleaser/goreleaser@latest
# goreleaser --snapshot --clean
# for f in dist/helm-diff*.tgz; do echo Testing $f...; tar tzvf $f; done
project_name: helm-diff
builds:
- id: default
main: .
binary: bin/diff
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -X github.com/databus23/helm-diff/v3/cmd.Version={{ .Version }}
goos:
- freebsd
- darwin
- linux
- windows
goarch:
- amd64
- arm64
archives:
- id: default
builds:
- default
format: tgz
name_template: '{{ .ProjectName }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}'
wrap_in_directory: diff
files:
- README.md
- plugin.yaml
- LICENSE
changelog:
use: github-native
release:
prerelease: auto