From 24345e61de9c8e34160b76a1f0397d61ff8c8a45 Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:41:19 -0400 Subject: [PATCH] misc: update goreleaser config Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- .goreleaser.yml => .goreleaser.yaml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) rename .goreleaser.yml => .goreleaser.yaml (70%) 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