Skip to content

Commit

Permalink
goreleaser: bump version & add nfmp support (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fumesover committed Feb 26, 2024
1 parent 5592211 commit 93ea011
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
22 changes: 18 additions & 4 deletions .goreleaser.yml
Expand Up @@ -29,12 +29,26 @@ builds:

archives:
- format: tar.gz
name_template: >-
{{ .Binary }}_{{ .Version }}_
{{- if eq .Os "darwin" }}osx{{ else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}x86_32
{{- else }}{{ .Arch }}{{ end }}
{{- with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
386: x86_32
darwin: osx
files:
- LICENSE

nfpms:
- vendor: FullStory
homepage: https://github.com/fullstorydev/grpcurl/
maintainer: Engineering at FullStory <fixme@fixme>
description: 'Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers'
license: MIT
id: nfpms
formats:
- deb
- rpm
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -31,8 +31,8 @@ install:

.PHONY: release
release:
@go install github.com/goreleaser/goreleaser@v1.10.0
goreleaser release --rm-dist
@go install github.com/goreleaser/goreleaser@v1.21.0
goreleaser release --clean

.PHONY: docker
docker:
Expand Down

0 comments on commit 93ea011

Please sign in to comment.