Skip to content

Commit

Permalink
update goreleaser and version usage in main
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Sep 11, 2024
1 parent 0502e18 commit 9c052dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
- '-s -w'
goos:
- windows
- linux
Expand Down Expand Up @@ -47,5 +47,3 @@ release:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
changelog:
skip: true
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9c052dd

Please sign in to comment.