From 83efcb4324fe9e5951115615b64c5fc10e20a0db Mon Sep 17 00:00:00 2001 From: Simon Davis Date: Thu, 26 Sep 2024 09:14:29 -0700 Subject: [PATCH] update goreleaser deprecations --- .github/goreleaser-cross-compiler-test.yml | 3 ++- .goreleaser.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/goreleaser-cross-compiler-test.yml b/.github/goreleaser-cross-compiler-test.yml index 1f92f5e839..f659200a0c 100644 --- a/.github/goreleaser-cross-compiler-test.yml +++ b/.github/goreleaser-cross-compiler-test.yml @@ -1,6 +1,7 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 +version: 2 archives: - files: # Ensure only built binary is archived @@ -27,4 +28,4 @@ builds: - -s -w -X version.ProviderVersion={{.Version}} mod_timestamp: '{{ .CommitTimestamp }}' snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" diff --git a/.goreleaser.yml b/.goreleaser.yml index 9176c5b11d..b7fe90da6c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -81,4 +81,4 @@ signs: id: key-id signature: ${artifact}.72D7468F.sig snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next"