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: flags:
- -v - -v
archives: archives:
- replacements: - id: serra
darwin: Darwin name_template: >-
linux: Linux {{ .ProjectName }}_
windows: Windows {{- title .Os }}_
openbsd: OpenBSD {{- if eq .Arch "amd64" }}x86_64
386: i386 {{- else if eq .Arch "386" }}i386
amd64: x86_64 {{- else }}{{ .Arch }}{{ end }}
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:

View File

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