2020-08-30 13:55:22 +08:00
|
|
|
before:
|
|
|
|
hooks:
|
2021-05-23 23:32:55 +08:00
|
|
|
- go mod tidy
|
2019-01-13 12:45:25 +08:00
|
|
|
builds:
|
2021-05-23 23:32:55 +08:00
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-12-23 01:29:43 +08:00
|
|
|
- '386'
|
2021-05-23 23:32:55 +08:00
|
|
|
- arm64
|
|
|
|
- arm
|
|
|
|
goarm:
|
2021-12-23 01:29:43 +08:00
|
|
|
- '6'
|
|
|
|
- '7'
|
2021-05-23 23:32:55 +08:00
|
|
|
ignore:
|
|
|
|
- goos: windows
|
2021-12-23 01:29:43 +08:00
|
|
|
goarm: '6'
|
2019-01-13 12:45:25 +08:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
2020-02-20 11:16:40 +08:00
|
|
|
archives:
|
2023-07-11 01:15:16 +08:00
|
|
|
- name_template: >-
|
|
|
|
{{ .ProjectName }}_
|
|
|
|
{{- title .Os }}_
|
|
|
|
{{- if eq .Arch "amd64" }}x86_64
|
|
|
|
{{- else if eq .Arch "386" }}i386
|
|
|
|
{{- else }}{{ .Arch }}{{ end }}
|
|
|
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
2020-02-20 11:16:40 +08:00
|
|
|
format_overrides:
|
2021-05-23 23:32:55 +08:00
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2022-01-02 01:04:37 +08:00
|
|
|
changelog:
|
|
|
|
groups:
|
|
|
|
- title: 'New Features'
|
|
|
|
regexp: "^.*feat[(\\w)]*:+.*$"
|
|
|
|
order: 0
|
|
|
|
- title: 'Bug fixes'
|
|
|
|
regexp: "^.*fix[(\\w)]*:+.*$"
|
|
|
|
order: 1
|
|
|
|
- title: 'Documentation updates'
|
|
|
|
regexp: "^.*docs[(\\w)]*:+.*$"
|
|
|
|
order: 2
|
|
|
|
- title: 'Other'
|
|
|
|
order: 999
|
|
|
|
release:
|
|
|
|
prerelease: auto
|
2022-01-21 23:47:39 +08:00
|
|
|
mode: append
|