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
|
uses: goreleaser/goreleaser-action@v4
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ builds:
|
||||||
- arm64
|
- arm64
|
||||||
- arm
|
- arm
|
||||||
goarm:
|
goarm:
|
||||||
- 6
|
- "6"
|
||||||
- 7
|
- "7"
|
||||||
ignore:
|
ignore:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
goarch: arm
|
goarch: arm
|
||||||
|
@ -24,10 +24,15 @@ builds:
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
archives:
|
archives:
|
||||||
- replacements:
|
- rlcp: true
|
||||||
darwin: macos
|
name_template: >-
|
||||||
386: i386
|
{{ .ProjectName }}-
|
||||||
amd64: x86_64
|
{{ .Version }}
|
||||||
|
{{ .Os }}-
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "darwin" }}macos
|
||||||
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
source:
|
source:
|
||||||
enabled: true
|
enabled: true
|
||||||
name_template: "{{ .ProjectName }}-{{ .Version }}-sources"
|
name_template: "{{ .ProjectName }}-{{ .Version }}-sources"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -59,7 +59,7 @@ clean: ### clean test cache, build files
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: clean ### builds the project for the setup os/arch combinations
|
build: clean ### builds the project for the setup os/arch combinations
|
||||||
$(info: Make: Build)
|
$(info: Make: Build)
|
||||||
@goreleaser build --rm-dist --snapshot
|
@goreleaser build --clean --snapshot
|
||||||
|
|
||||||
.PHONY: buildx
|
.PHONY: buildx
|
||||||
buildx:
|
buildx:
|
||||||
|
|
Loading…
Reference in New Issue