Skip to content

Commit

Permalink
update .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm committed Mar 5, 2023
1 parent 14b5f4e commit c31e7cf
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,24 @@ builds:
- linux
- windows
- darwin
ldflags:
- >-
-s -w
-X github.com/matheusfm/futbin/cmd.version={{.Version}}
-X github.com/matheusfm/futbin/cmd.commit={{.Commit}}
-X github.com/matheusfm/futbin/cmd.date={{.Date}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit c31e7cf

Please sign in to comment.