Skip to content

Commit f01d3df

Browse files
Update GoReleaser configurations (#4791)
## Changes This small PR updates the GoReleaser configuration to resolve the following warning which you can find in the [CI logs](https://github.com/databricks/terraform-provider-databricks/actions/runs/15505676646/job/43660148228#step:7:26): ``` DEPRECATED: snapshot.name_template should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info DEPRECATED: archives.format should not be used anymore, check https://goreleaser.com/deprecations#archivesformat for more info ``` - [x] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework NO_CHANGELOG=true Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 0baf126 commit f01d3df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ builds:
2020
- arm64
2121

2222
archives:
23-
- format: zip
23+
- formats: [zip]
2424
name_template: '{{ .ProjectName }}_{{ replace .Version "v" "" }}_{{ .Os }}_{{ .Arch }}'
2525
files:
2626
- LICENSE*
@@ -32,7 +32,7 @@ checksum:
3232
algorithm: sha256
3333

3434
snapshot:
35-
name_template: "{{ .Tag }}"
35+
version_template: "{{ .Tag }}"
3636

3737
signs:
3838
- artifacts: checksum

0 commit comments

Comments
 (0)