chore: update goreleaser definition

This commit is contained in:
DataHearth 2023-08-21 17:20:58 +02:00
parent 8047162903
commit 20518330b7
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
2 changed files with 9 additions and 7 deletions

View File

@ -9,12 +9,14 @@ builds:
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
gitea_urls:
api: https://gitea.antoine-langlois.net/api/v1
download: https://gitea.antoine-langlois.net

View File

@ -9,4 +9,4 @@ publish version:
git add CHANGELOG.md && git commit -m "chore: update CHANGELOG {{version}}"
git tag -a {{version}} -m "{{version}}"
git push --follow-tags
goreleaser release --rm-dist --release-notes <(git-chglog -t .chglog/RELEASE_CHANGELOG.tpl.md)
goreleaser release --clean --release-notes <(git-chglog -t .chglog/RELEASE_CHANGELOG.tpl.md)