Update goreleaser

This commit is contained in:
Florian Baumann 2023-02-22 13:11:48 +01:00
parent ae4bf6c7ab
commit c2944a648f
2 changed files with 8 additions and 8 deletions

View File

@ -19,13 +19,13 @@ builds:
flags:
- -v
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
openbsd: OpenBSD
386: i386
amd64: x86_64
- id: serra
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:

View File

@ -18,7 +18,7 @@ tasks:
- git tag | tail -5
- read -p "Version v1.1.1 " version ; git tag $version
- git push --tags
- goreleaser release --rm-dist
- goreleaser release --clean
default:
cmds: