forked from helm/chart-releaser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
60 lines (60 loc) · 1.58 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
53
54
55
56
57
58
59
60
project_name: chart-releaser
builds:
- main: cr/main.go
binary: cr
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm
goos:
- linux
- darwin
- windows
ldflags:
- >-
-X github.com/helm/chart-releaser/cr/cmd.Version={{ .Tag }}
-X github.com/helm/chart-releaser/cr/cmd.GitCommit={{ .Commit }}
-X github.com/helm/chart-releaser/cr/cmd.BuildDate={{ .Date }}
archives:
- format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
dockers:
- goos: linux
goarch: amd64
binaries:
- cr
skip_push: false
dockerfile: Dockerfile
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}
- quay.io/helmpack/chart-releaser:latest
build_flag_templates:
- --label=org.label-schema.schema-version=1.0
- --label=org.label-schema.version={{ .Version }}
- --label=org.label-schema.name={{ .ProjectName }}
- --label=org.label-schema.build-date={{ .Date }}
- --label=org.label-schema.description='cr - The chart release tool'
- --label=org.label-schema.vendor=Helm
brews:
- tap:
owner: helm
name: homebrew-tap
commit_author:
name: helm-bot
email: [email protected]
folder: Formula
homepage: https://github.com/helm/chart-releaser/
description: Hosting Helm Charts via GitHub Pages and Releases
install: |
bin.install "cr"
test: |
system "#{bin}/cr --version"