Skip to content

Commit

Permalink
Move build package and update goreleaser idflags
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Nov 10, 2023
1 parent 10c8455 commit 33a8541
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
- '-s -w -X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.version={{.Version}} -X github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build.commit={{.Commit}}'
goos:
- windows
- linux
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/mattn/go-colorable"
"github.com/mitchellh/cli"

"github.com/hashicorp/terraform-plugin-docs/cmd/build"
"github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs/build"
)

type commonCmd struct {
Expand Down

0 comments on commit 33a8541

Please sign in to comment.