Update goreleaser
This commit is contained in:
parent
ae4bf6c7ab
commit
c2944a648f
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user