chore: update goreleaser

prod
Steven 5 months ago
parent 660f7fd955
commit 399364af01

@ -1,4 +1,4 @@
name: Build artifacts and draft release name: Build artifacts
on: on:
push: push:

@ -1,11 +1,3 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 1 version: 1
before: before:
@ -26,12 +18,7 @@ archives:
- format: tar.gz - format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`. # this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >- name_template: >-
{{ .ProjectName }}_ {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
changelog: changelog:
sort: asc sort: asc
@ -40,6 +27,9 @@ changelog:
- "^docs:" - "^docs:"
- "^test:" - "^test:"
checksum:
disable: true
release: release:
draft: true draft: true
replace_existing_draft: true replace_existing_draft: true

Loading…
Cancel
Save