Skip to content

Commit

Permalink
Merge pull request cheelim1#16 from cheelim1/fix/go-releaser-file
Browse files Browse the repository at this point in the history
FIX: Go releaser
  • Loading branch information
cheelim1 authored Aug 23, 2024
2 parents 0b02054 + 6b4f77e commit ed6a3cf
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,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
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
Expand Down Expand Up @@ -44,11 +43,9 @@ checksum:
signs:
- artifacts: checksum
args:
# 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"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
Expand All @@ -57,7 +54,6 @@ release:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
# If you want to manually examine the release before its live, uncomment this line:
# draft: true

changelog:
skip: true
sort: asc

0 comments on commit ed6a3cf

Please sign in to comment.