diff --git a/.goreleaser.yml b/.goreleaser.yaml similarity index 70% rename from .goreleaser.yml rename to .goreleaser.yaml index ea5fce50..d25784d5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yaml @@ -1,20 +1,11 @@ -# 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 +# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# vim: set ts=2 sw=2 tw=0 fo=cnqoj + +version: 2 + 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: - freebsd - windows