Skip to content

Commit

Permalink
Fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Duchesne committed Oct 7, 2020
1 parent d34a781 commit 6a1df0d
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# Build customization
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.

before:
hooks:
- go mod tidy
builds:
- binary: terraform-provider-quantum
- env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
- darwin
goarch:
- amd64
- 386
- "386"
- arm
- arm64
ignore:
- goos: darwin
goarch: 386

# Archive customization
archive:
format: zip

replacements:
amd64: 64-bits
386: 32-bits
darwin: macOS

files:
- nothing.*
goarch: "386"
binary: "{{ .ProjectName }}_v{{ .Version }}"
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 6a1df0d

Please sign in to comment.