Skip to content

Commit 9a8ad15

Browse files
committed
Iterate on publishing docs with each release
1 parent 2385dfd commit 9a8ad15

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.goreleaser.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
version: 2
44
before:
55
hooks:
6-
# this is just an example and not a requirement for provider building/publishing
76
- go mod tidy
87
- go generate ./...
98

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require (
88
github.com/go-sql-driver/mysql v1.8.1
99
github.com/gofrs/uuid v4.4.0+incompatible
1010
github.com/hashicorp/go-version v1.7.0
11+
github.com/hashicorp/terraform-plugin-docs v0.19.4
1112
github.com/hashicorp/terraform-plugin-log v0.9.0
1213
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0
1314
github.com/tidwall/gjson v1.17.1
@@ -61,7 +62,6 @@ require (
6162
github.com/hashicorp/logutils v1.0.0 // indirect
6263
github.com/hashicorp/terraform-exec v0.21.0 // indirect
6364
github.com/hashicorp/terraform-json v0.22.1 // indirect
64-
github.com/hashicorp/terraform-plugin-docs v0.19.4 // indirect
6565
github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect
6666
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
6767
github.com/hashicorp/terraform-svchost v0.1.1 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
7070
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
7171
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
7272
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
73+
github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE=
74+
github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps=
7375
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
7476
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
7577
github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU=

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ package main
44
import (
55
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
66
"github.com/petoju/terraform-provider-mysql/v3/mysql"
7+
// Added to ensure we have tfplugindocs available in go.mod
8+
_ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
79
)
810

911
func main() {

0 commit comments

Comments
 (0)