Skip to content

Commit

Permalink
Use latest version of goreleaser action (#1477)
Browse files Browse the repository at this point in the history
## Changes

Same as
databricks/terraform-provider-databricks#3645.

## Tests

n/a
  • Loading branch information
pietern authored Jun 5, 2024
1 parent 311dfa4 commit 1451361
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:

- name: Run GoReleaser
id: releaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: ~> v2
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 7 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
version: 2

before:
hooks:
- go mod tidy
- go mod download

builds:
- env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -36,6 +39,7 @@ builds:
- amd64
- arm64
binary: databricks

archives:
- format: zip

Expand Down Expand Up @@ -89,8 +93,10 @@ docker_manifests:
checksum:
name_template: 'databricks_cli_{{ .Version }}_SHA256SUMS'
algorithm: sha256

snapshot:
name_template: '{{ incpatch .Version }}-dev+{{ .ShortCommit }}'

changelog:
sort: asc
filters:
Expand Down

0 comments on commit 1451361

Please sign in to comment.