File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,26 @@ builds:
2929
3030archives :
3131 - format : tar.gz
32+ name_template : >-
33+ {{ .Binary }}_{{ .Version }}_
34+ {{- if eq .Os "darwin" }}osx{{ else }}{{ .Os }}{{ end }}_
35+ {{- if eq .Arch "amd64" }}x86_64
36+ {{- else if eq .Arch "386" }}x86_32
37+ {{- else }}{{ .Arch }}{{ end }}
38+ {{- with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
3239 format_overrides :
3340 - goos : windows
3441 format : zip
35- replacements :
36- amd64 : x86_64
37- 386 : x86_32
38- darwin : osx
3942 files :
4043 - LICENSE
44+
45+ nfpms :
46+ - vendor : FullStory
47+ homepage : https://github.com/fullstorydev/grpcurl/
48+ maintainer : Engineering at FullStory <fixme@fixme>
49+ description : ' Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers'
50+ license : MIT
51+ id : nfpms
52+ formats :
53+ - deb
54+ - rpm
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ install:
3131
3232.PHONY : release
3333release :
34- @go install github.com/goreleaser/goreleaser@v1.10 .0
35- goreleaser release --rm-dist
34+ @go install github.com/goreleaser/goreleaser@v1.21 .0
35+ goreleaser release --clean
3636
3737.PHONY : docker
3838docker :
You can’t perform that action at this time.
0 commit comments