updated location of K3sVersion

pull/24/head
Chris Carty 5 years ago
parent 508f9715ee
commit f9afbc5b9a
  1. 3
      version/version.go

@ -4,7 +4,7 @@ package version
var Version string
// K3sVersion contains the latest version tag of K3s
var K3sVersion string
var K3sVersion = "v0.4.0"
// GetVersion returns the version for cli, it gets it from "git describe --tags" or returns "dev" when doing simple go build
func GetVersion() string {
@ -16,6 +16,5 @@ func GetVersion() string {
// GetK3sVersion returns the version string for K3s
func GetK3sVersion() string {
K3sVersion = "v0.4.0"
return K3sVersion
}

Loading…
Cancel
Save