chore: use newer version of goreleaser
This commit is contained in:
@@ -1,30 +1,31 @@
|
|||||||
|
version: 2
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
|
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
|
||||||
goos:
|
goos:
|
||||||
- freebsd
|
- freebsd
|
||||||
- windows
|
- windows
|
||||||
- linux
|
- linux
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- '386'
|
- "386"
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: '386'
|
goarch: "386"
|
||||||
binary: '{{ .ProjectName }}_v{{ .Version }}'
|
binary: "{{ .ProjectName }}_v{{ .Version }}"
|
||||||
archives:
|
archives:
|
||||||
- format: zip
|
- format: zip
|
||||||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
checksum:
|
checksum:
|
||||||
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
|
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
|
||||||
algorithm: sha256
|
algorithm: sha256
|
||||||
signs:
|
signs:
|
||||||
- artifacts: checksum
|
- artifacts: checksum
|
||||||
@@ -37,4 +38,5 @@ signs:
|
|||||||
- "--detach-sign"
|
- "--detach-sign"
|
||||||
- "${artifact}"
|
- "${artifact}"
|
||||||
changelog:
|
changelog:
|
||||||
skip: true
|
disable: true
|
||||||
|
use: github-native
|
||||||
Reference in New Issue
Block a user