Skip to content

Commit

Permalink
github: update goreleaser config (#159)
Browse files Browse the repository at this point in the history
Fixes the following error:

    release failed after 0s  error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration

    github.com/scylladb/terraform-provider-scylladbcloud/actions/runs/9906916864/job/27369488526
  • Loading branch information
rjeczalik authored Jul 12, 2024
1 parent 2dd40ac commit 25d3e37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
version: 2
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds:
- env:
# goreleaser does not work with CGO, it could also complicate
# usage by users in CI/CD systems like Terraform Cloud where
# usage by users in CI/CD systems like HCP Terraform where
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
Expand Down Expand Up @@ -41,7 +42,7 @@ checksum:
signs:
- artifacts: checksum
args:
# if you are using this in a GitHub action or some other automated pipeline, you
# if you are using this in a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--local-user"
Expand All @@ -57,4 +58,4 @@ release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: true
disable: true

0 comments on commit 25d3e37

Please sign in to comment.