Skip to content

Commit

Permalink
chore: update goreleaser config
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <git@dw1.io>
  • Loading branch information
dwisiswant0 committed Apr 8, 2024
1 parent 409bb73 commit b61d4d1
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .goreleaser.yml
@@ -1,21 +1,24 @@
builds:
- binary: tlder
main: .
goos:
- linux
- windows
- darwin
goarch:
- amd64
- 386
- arm
- arm64
- binary: tlder
main: .
goos:
- linux
- windows
- darwin
goarch:
- amd64
- "386"
- arm
- arm64
ignore:
- goos: darwin
goarch: "386"

archives:
- id: tgz
format: tar.gz
replacements:
darwin: macOS
format_overrides:
- goos: windows
format: zip
- format: binary
name_template: >-
{{- .ProjectName }}_{{- .Tag }}-
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}

0 comments on commit b61d4d1

Please sign in to comment.