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