Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Fix archive.replacements in goreleaser #109

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@ builds:
archives:
- id: datacatalog-archive
name_template: |-
datacatalog_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
datacatalog_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- datacatalog
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
Expand Down