diff --git a/.goreleaser.yml b/.goreleaser.yml index 7af901f..ee0c42a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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