Skip to content

Commit

Permalink
simpler goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Mar 22, 2024
1 parent a954fd8 commit 421cd4c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
# 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:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- darwin
- windows
Expand All @@ -29,11 +14,3 @@ builds:
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
release:
# Visit your project's GitHub Releases page to publish this release .
draft: true
changelog:
skip: true

0 comments on commit 421cd4c

Please sign in to comment.