mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 10:47:34 -05:00
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
|