Skip to content

Commit

Permalink
Ugly goreleaser fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusiq committed Mar 3, 2024
1 parent 0b3a3a9 commit 2a0832a
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,28 @@ builds:
archives:
- builds:
- binary
replacements:
darwin: Darwin
linux: Linux
386: x86
amd64: x86_64
name_template: >-
{{- .ProjectName }}_{{ .Id }}_
{{- if eq .Os "darwin" }}Darwin
{{- else if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "386" }}x86
{{- else if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
- builds:
- win_binary
id: win_binary
format: zip
replacements:
windows: Windows
386: x86
amd64: x86_64
name_template: >-
{{- .ProjectName }}_{{ .Id }}_
{{- if eq .Os "windows" }}Windows
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "386" }}x86
{{- else if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
files:
- src: scripts/regolith-update.ps1
dst: ./
Expand Down

0 comments on commit 2a0832a

Please sign in to comment.