Skip to content

Commit

Permalink
Cleanup go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
taliesins committed Sep 23, 2020
1 parent 1ae26e1 commit 7d8632b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
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 All @@ -33,18 +26,15 @@ checksum:
signs:
- artifacts: checksum
args:
# if you are using this is 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"
- "${artifact}"
release:
# If you want to manually examine the release before its live, uncomment this line:
draft: true
sort: desc
changelog:
skip: false
sort: desc

0 comments on commit 7d8632b

Please sign in to comment.