Skip to content

Commit 2cf635d

Browse files
committed
Added goreleaser config file
Co-authored-by: Nancy Hsieh <nhsieh@pivotal.io> Co-authored-by: Ramkumar Vengadakrishnan <rvengadakrishnan@pivotal.io> [#/171502558] Make a homebrew tap for installing kiln
1 parent acdb8e6 commit 2cf635d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.goreleaser.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# For documentation at http://goreleaser.com
2+
before:
3+
hooks:
4+
- go mod download
5+
release:
6+
github:
7+
owner: pivotal-cf
8+
name: kiln
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- darwin
14+
- linux
15+
- windows
16+
goarch:
17+
- amd64
18+
ldflags:
19+
- -X "main.version={{.Version}}"
20+
archives:
21+
- id: github
22+
format: binary
23+
name_template: "kiln-{{ .Os }}-{{ .Version }}"
24+
- id: homebrew
25+
format: "tar.gz"
26+
name_template: "kiln-{{ .Os }}-{{ .Version }}"
27+
format_overrides:
28+
- goos: windows
29+
format: zip
30+
brews:
31+
- name: kiln
32+
github:
33+
owner: pivotal-cf
34+
name: kiln
35+
folder: HomebrewFormula
36+
ids:
37+
- homebrew
38+
test: |
39+
system "#{bin}/kiln --version"
40+
checksum:
41+
name_template: 'checksums.txt'
42+
snapshot:
43+
name_template: "{{ .Tag }}-next"
44+
changelog:
45+
skip: true

0 commit comments

Comments
 (0)