fix the beego version

This commit is contained in:
astaxie 2016-01-18 10:27:17 +08:00
parent 4bc70441d2
commit 08ff1c91ef
1 changed files with 1 additions and 1 deletions

View File

@ -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 ""
}