diff --git a/version.go b/version.go index f9475da..8a782a7 100644 --- a/version.go +++ b/version.go @@ -1,14 +1,17 @@ package apiary -import "fmt" +import ( + "fmt" + "runtime" +) -var Version = "v0.1.2" +var Version = "v0.1.3" var Build string func FullVersion() string { if Build != "" { - return fmt.Sprintf("%s-%s", Version, Build) + return fmt.Sprintf("%s-%s (%s)", Version, Build, runtime.Version()) } - return Version + return fmt.Sprintf("%s (%s)", Version, runtime.Version()) }