Skip to content

Commit

Permalink
chore(fixing release names): lining up release names with rust defaul…
Browse files Browse the repository at this point in the history
…ts vs goreleaser defaults
  • Loading branch information
stvnksslr committed Dec 26, 2024
1 parent 9e8bb60 commit cbd8778
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ builds:
- builder: rust
flags:
- --release
- -F self_update
targets:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
Expand All @@ -19,18 +20,17 @@ builds:
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{ .ProjectName }}-
{{- if eq .Os "darwin" }}x86_64-apple-darwin
{{- else if and (eq .Os "linux") (eq .Arch "amd64") }}x86_64-unknown-linux-gnu
{{- else if and (eq .Os "linux") (eq .Arch "arm64") }}aarch64-unknown-linux-gnu
{{- else if and (eq .Os "darwin") (eq .Arch "arm64") }}aarch64-apple-darwin
{{- else }}{{ .Os }}-{{ .Arch }}{{ end }}
changelog:
disable: true

release:
footer: >-
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).

0 comments on commit cbd8778

Please sign in to comment.