Skip to content

Commit

Permalink
fix: fixing breaking build (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelwhix authored Sep 25, 2024
1 parent e94f686 commit 01c60ef
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,21 @@ archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_{{ title .Os }}_{{ .Version }}_{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}_v{{ .Arm }}{{ end }}
{{- if .Goamd64 }}_{{ .Goamd64 }}{{ end }} # Includes goamd64 version
{{- if .Goarch }}_{{ .Goarch }}{{ end }} # Includes goarch version
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Os "windows" }}
{{- if eq .Arch "amd64" }}64bit
{{- else if eq .Arch "386" }}32bit
{{- else }}{{ .Arch }}
{{- end }}
{{- else }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}
{{- end }}
{{- end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}_
{{ .Tag }}
# use zip for windows archives
format_overrides:
Expand Down

0 comments on commit 01c60ef

Please sign in to comment.