32 lines
794 B
YAML
32 lines
794 B
YAML
# SPDX-License-Identifier: MPL-2.0
|
|
# Local/unsigned release config. No GPG signing, Vault, Artifactory or
|
|
# Terraform Registry publishing: this fork has no registry.
|
|
# Try it with: goreleaser build --snapshot --clean
|
|
version: 2
|
|
project_name: terraform-provider-threshold
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
builds:
|
|
- id: provider
|
|
main: .
|
|
binary: "{{ .ProjectName }}_v{{ .Version }}"
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w
|
|
goos: [linux, darwin, windows]
|
|
goarch: [amd64, arm64]
|
|
archives:
|
|
- formats: [zip]
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
|
|
algorithm: sha256
|
|
release:
|
|
disable: true
|
|
changelog:
|
|
disable: true
|