diff --git a/version.go b/version.go index 19c8159..23c461f 100644 --- a/version.go +++ b/version.go @@ -43,7 +43,7 @@ func versionCmd(cmd *Command, args []string) int { func getbeegoVersion() string { gopath := os.Getenv("GOPATH") - re, err := regexp.Compile(`const VERSION = "([0-9.]+)"`) + re, err := regexp.Compile(`VERSION = "([0-9.]+)"`) if err != nil { return "" }