mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
83e6703bf7
The revision field is only populated on dev builds so this means most releases of Terraform have an empty "terraform_revision" field in the JSON output. Since we recommend developers use go tooling to `go build` this tool when developing, the revision is not useful data and so it is removed.
10 lines
142 B
Go
10 lines
142 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/version"
|
|
)
|
|
|
|
var Version = version.Version
|
|
|
|
var VersionPrerelease = version.Prerelease
|