From 1dc264298c5f4aaa146aaed8e62c35a7d35a7a76 Mon Sep 17 00:00:00 2001 From: max furman Date: Wed, 20 Nov 2024 10:40:29 -0800 Subject: [PATCH] [ci] fix deprecation warnings from goreleaser linter --- .goreleaser.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ff51b7665..5a9930ce1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -53,11 +53,9 @@ builds: # - the name of the output binary is step-cli << : *BUILD id: nfpm - goos: - - linux - goarch: - - amd64 - - arm64 + targets: + - linux_amd64 + - linux_arm64 binary: step-cli archives: @@ -165,7 +163,7 @@ publishers: cmd: ./scripts/package-upload.sh {{ abs .ArtifactPath }} {{ .Var.packageName }} {{ .Version }} {{ .Var.packageRelease }} snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" release: # Repo in which the release will be created.