File tree 2 files changed +20
-6
lines changed
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,26 @@ builds:
29
29
30
30
archives :
31
31
- 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 }}
32
39
format_overrides :
33
40
- goos : windows
34
41
format : zip
35
- replacements :
36
- amd64 : x86_64
37
- 386 : x86_32
38
- darwin : osx
39
42
files :
40
43
- 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:
31
31
32
32
.PHONY : release
33
33
release :
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
36
36
37
37
.PHONY : docker
38
38
docker :
You can’t perform that action at this time.
0 commit comments