Skip to content

Commit

Permalink
Untitle os name in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsundar committed Dec 29, 2023
1 parent 8ee6f28 commit cbbc100
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,20 @@ builds:
- windows
- darwin
main: "./cmd/protoc-gen-go-kvstore"
binary: protoc-gen-go-kvstore

archives:
- format: zip
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- src: ./protobuf
dst: include

changelog:
sort: asc
Expand Down

0 comments on commit cbbc100

Please sign in to comment.