mirror of https://github.com/fmartingr/bazaar.git
deps: update goreleaser
This commit is contained in:
parent
184178fe7b
commit
cadeaffd31
|
@ -23,7 +23,7 @@ jobs:
|
|||
uses: goreleaser/goreleaser-action@v4
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ builds:
|
|||
- arm64
|
||||
- arm
|
||||
goarm:
|
||||
- 6
|
||||
- 7
|
||||
- "6"
|
||||
- "7"
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm
|
||||
|
@ -24,10 +24,15 @@ builds:
|
|||
ldflags:
|
||||
- -s -w
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: macos
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
- rlcp: true
|
||||
name_template: >-
|
||||
{{ .ProjectName }}-
|
||||
{{ .Version }}
|
||||
{{ .Os }}-
|
||||
{{- if eq .Arch "amd64" }}x86_64
|
||||
{{- else if eq .Arch "darwin" }}macos
|
||||
{{- else if eq .Arch "386" }}i386
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
source:
|
||||
enabled: true
|
||||
name_template: "{{ .ProjectName }}-{{ .Version }}-sources"
|
||||
|
|
Loading…
Reference in New Issue