1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 20:20:49 +00:00

fix the beego version

This commit is contained in:
astaxie 2016-01-18 10:27:17 +08:00
parent 4bc70441d2
commit 08ff1c91ef

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