0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 02:52:58 +00:00

misc: update goreleaser config

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2024-06-25 01:41:19 -04:00
parent 90e1f56441
commit 24345e61de
No known key found for this signature in database
GPG Key ID: 637146A2A6804C59

View File

@ -1,20 +1,11 @@
# Visit https://goreleaser.com for documentation on how to customize this # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# behavior. # vim: set ts=2 sw=2 tw=0 fo=cnqoj
before:
hooks: version: 2
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds: builds:
- env: - 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 - CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos: goos:
- freebsd - freebsd
- windows - windows