Skip to content

Commit

Permalink
🔧 Update .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianqaq committed Feb 3, 2024
1 parent 291de7f commit 7d8eafd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 1

builds:
- binary: Supernova
main: ./Supernova.go
Expand All @@ -19,6 +21,12 @@ archives:
format_overrides:
- goos: windows
format: zip
name_template: "Supernova_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name_template: >-
{{ .ProjectName }}_v{{.Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- none*

0 comments on commit 7d8eafd

Please sign in to comment.