Skip to content

Commit

Permalink
update goreleaser config to remove version from binary names
Browse files Browse the repository at this point in the history
  • Loading branch information
tzneal committed Dec 3, 2021
1 parent 3614a00 commit 5413819
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ builds:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/tzneal/supplant/cmd.version={{.Version}} -X github.com/tzneal/supplant/cmd.commit={{.Commit}} -X github.com/tzneal/supplant/cmd.date={{.Date}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: binary
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 5413819

Please sign in to comment.