File tree Expand file tree Collapse file tree 1 file changed +32
-25
lines changed Expand file tree Collapse file tree 1 file changed +32
-25
lines changed Original file line number Diff line number Diff line change 1
- # This is an example goreleaser.yaml file with some sane defaults.
2
- # Make sure to check the documentation at http://goreleaser.com
3
- before :
4
- hooks :
5
- # you may remove this if you don't use vgo
6
- - go mod download
7
- # you may remove this if you don't need go generate
8
- - go generate ./...
9
1
builds :
10
- - env :
11
- - CGO_ENABLED=0
12
- archives :
13
- - replacements :
14
- darwin : Darwin
15
- linux : Linux
16
- windows : Windows
17
- 386 : i386
18
- amd64 : x86_64
2
+ -
3
+ binary : kurun
4
+ env :
5
+ - CGO_ENABLED=0
6
+ ldflags : " -s -w -X main.version={{ .Version }} -X main.commitHash={{ .ShortCommit }} -X main.buildDate={{ .Date }}"
7
+ goos :
8
+ - linux
9
+ - darwin
10
+ - windows
11
+ goarch :
12
+ - amd64
13
+
14
+ archive :
15
+ name_template : " kurun_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
16
+ format_overrides :
17
+ -
18
+ goos : windows
19
+ format : zip
20
+
19
21
checksum :
20
- name_template : ' checksums.txt'
21
- snapshot :
22
- name_template : " {{ .Tag }}-next"
22
+ name_template : " kurun_checksums.txt"
23
+
23
24
changelog :
24
- sort : asc
25
- filters :
26
- exclude :
27
- - ' ^docs:'
28
- - ' ^test:'
25
+ skip : true
26
+
27
+ brew :
28
+ github :
29
+ owner : banzaicloud
30
+ name : homebrew-tap
31
+ folder : Formula
32
+ homepage : https://banzaicloud.com/blog/kurun
33
+ description : Run main.go in Kubernetes with one command
34
+ test : |
35
+ system "#{bin}/kurun --version"
You can’t perform that action at this time.
0 commit comments