Repository navigation
Expand file tree
/
Copy path.goreleaser.yml
More file actions
70 lines (67 loc) · 1.42 KB
/
Copy path.goreleaser.yml
File metadata and controls
70 lines (67 loc) · 1.42 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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
- id: linux-additional
main: .
binary: bin/diff
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -X github.com/databus23/helm-diff/v3/cmd.Version={{ .Version }}
goos:
- linux
goarch:
- arm
- ppc64le
- s390x
goarm:
- "6"
- "7"
archives:
- id: default
builds:
- default
- linux-additional
format: tgz
name_template: '{{ .ProjectName }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
wrap_in_directory: diff
files:
- README.md
- plugin.yaml
- LICENSE
- install-binary.sh
- install-binary.ps1
signs:
- id: plugin-provenance
artifacts: archive
signature: "${artifact}.prov"
cmd: ./scripts/sign-provenance.sh
args:
- ${artifact}
- ${signature}
changelog:
use: github-native
release:
prerelease: auto