Skip to content

Commit

Permalink
Use better command for module version detection.
Browse files Browse the repository at this point in the history
Update the issue templates to show a command that retrieves the current
version of the module without relying on jq or any other tooling beyond
the `go` command.

Fixes #641.
  • Loading branch information
paddycarver authored and kmoe committed Jan 5, 2021
1 parent da3c01c commit 05cef0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: bug
<!---
Inspect your go.mod as below to find the version, and paste the result between the ``` marks below.
go mod edit -json | jq '.Require[] | select(.Path=="github.com/hashicorp/terraform-plugin-sdk/v2")'
go list -m github.com/hashicorp/terraform-plugin-sdk/v2
If you are not running the latest version of the SDK, please try upgrading
because your bug may have already been fixed.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: enhancement
<!--
Inspect your go.mod as below to find the version, and paste the result between the ``` marks below.
go mod edit -json | jq '.Require[] | select(.Path=="github.com/hashicorp/terraform-plugin-sdk/v2")'
go list -m github.com/hashicorp/terraform-plugin-sdk/v2
If you are not running the latest version of the SDK, please try upgrading
because your feature may have already been implemented.
Expand Down

0 comments on commit 05cef0c

Please sign in to comment.