Skip to content

Commit

Permalink
modify goreleaser.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KalebHawkins committed Jun 25, 2024
1 parent 6bbf21a commit 471d589
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
targets:
- windows_amd64
ldflags:
- -w -s

archives:
- format: tar.gz
Expand All @@ -30,6 +32,9 @@ archives:
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
Expand Down

0 comments on commit 471d589

Please sign in to comment.