From 9c052dd0f15569f18451f4c604e040ac4d28f887 Mon Sep 17 00:00:00 2001 From: Matt Schuchard Date: Wed, 11 Sep 2024 08:48:25 -0400 Subject: [PATCH] update goreleaser and version usage in main --- .goreleaser.yml | 4 +--- main.go | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4202ff7..e14e21a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,7 +5,7 @@ builds: flags: - -trimpath ldflags: - - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' + - '-s -w' goos: - windows - linux @@ -47,5 +47,3 @@ release: extra_files: - glob: 'terraform-registry-manifest.json' name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' -changelog: - skip: true diff --git a/main.go b/main.go index 4d9ebbc..b6dd1fc 100644 --- a/main.go +++ b/main.go @@ -12,11 +12,9 @@ import ( // provider documentation generation. //go:generate tfplugindocs generate --provider-name stdlib -const version string = "1.4.1" - func main() { // start provider server - if err := providerserver.Serve(context.Background(), provider.New(version), providerserver.ServeOpts{ + if err := providerserver.Serve(context.Background(), provider.New("1.5.0"), providerserver.ServeOpts{ Address: "registry.terraform.io/mschuchard/stdlib", }); err != nil { log.Fatal(err)