mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-28 17:01:02 +02:00
chore: fix CI to follow the deprecation of goreleaser flags (#755)
* chore: fix CI to follow the deprecation of goreleaser flags * chore: fix goreleaser config file to follow deprecation notice
This commit is contained in:
parent
463509825c
commit
4863a88228
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -97,4 +97,4 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: goreleaser/goreleaser-action@v2
|
- uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
args: release --snapshot --skip-publish --rm-dist
|
args: release --snapshot --skip=publish --clean
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# This is an example goreleaser.yaml file with some sane defaults.
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
||||||
# Make sure to check the documentation at http://goreleaser.com
|
|
||||||
|
version: 2
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
@ -9,13 +10,13 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- "386"
|
||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: 386
|
goarch: "386"
|
||||||
|
|
||||||
id: jsonnet
|
id: jsonnet
|
||||||
main: ./cmd/jsonnet
|
main: ./cmd/jsonnet
|
||||||
@ -30,13 +31,13 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- "386"
|
||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: 386
|
goarch: "386"
|
||||||
|
|
||||||
id: jsonnetfmt
|
id: jsonnetfmt
|
||||||
main: ./cmd/jsonnetfmt
|
main: ./cmd/jsonnetfmt
|
||||||
@ -49,13 +50,13 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- "386"
|
||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: 386
|
goarch: "386"
|
||||||
|
|
||||||
id: jsonnet-lint
|
id: jsonnet-lint
|
||||||
main: ./cmd/jsonnet-lint
|
main: ./cmd/jsonnet-lint
|
||||||
@ -68,13 +69,13 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- "386"
|
||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
ignore:
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: 386
|
goarch: "386"
|
||||||
|
|
||||||
id: jsonnet-deps
|
id: jsonnet-deps
|
||||||
main: ./cmd/jsonnet-deps
|
main: ./cmd/jsonnet-deps
|
||||||
@ -82,12 +83,14 @@ builds:
|
|||||||
|
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- replacements:
|
- name_template: >-
|
||||||
darwin: Darwin
|
{{- .ProjectName }}_
|
||||||
linux: Linux
|
{{- title .Os }}_
|
||||||
windows: Windows
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
386: i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
amd64: x86_64
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
{{- if .Arm }}v{{ .Arm }}{{ end -}}
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user