1
1
Fork 0
mirror of https://github.com/adammck/terraform-inventory synced 2024-05-25 05:46:03 +02:00
terraform-inventory/version.go

16 lines
404 B
Go
Raw Permalink Normal View History

2015-02-09 22:14:55 +01:00
package main
// Deliberately uninitialized. See below.
var build_version string
// versionInfo returns a string containing the version information of the
// current build. It's empty by default, but can be included as part of the
// build process by setting the main.build_version variable.
func versionInfo() string {
if build_version != "" {
return build_version
} else {
return "unknown"
}
}