Skip to content

Commit

Permalink
fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryQ committed Oct 4, 2023
1 parent ee62fc8 commit 71ca26f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- windows
# - windows
- darwin
ldflags: -X github.com/roryq/wrench/cmd.Version=${{ .Version }}
tags:
- netgo
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: assets
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 71ca26f

Please sign in to comment.