Skip to content

Commit

Permalink
binary distribution format
Browse files Browse the repository at this point in the history
  • Loading branch information
pnsafonov committed Apr 27, 2024
1 parent 916bef1 commit 516d0e9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ before:

builds:
- env:
- CGO_ENABLED=0
- CGO_ENABLED=1
goarch:
- amd64
- arm64
# - arm64
goos:
- linux
# - windows
Expand All @@ -35,16 +35,17 @@ archives:
- files:
# skip all other files
- none*
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip
format: binary
# format_overrides:
# - goos: windows
# format: zip
# - goos: darwin
# format: zip
# pind_1.0.1_linux_amd64.tar.gz
# pind_1.0.1_macos_arm64.zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- if eq .Os "darwin" }}macos_
{{- else }}{{ .Os }}_{{ end }}
{{- .Arch }}
# {{- .Arch }}

0 comments on commit 516d0e9

Please sign in to comment.