diff --git a/gogs.go b/gogs.go
index 4f57e82c3..af8e007d0 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
 	"github.com/gogits/gogs/modules/setting"
 )
 
-const APP_VER = "0.5.8.1213 Beta"
+const APP_VER = "0.5.9.1213 Beta"
 
 func init() {
 	runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/templates/.VERSION b/templates/.VERSION
index 6c8af6290..05142fea3 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.5.8.1213 Beta
\ No newline at end of file
+0.5.9.1213 Beta
\ No newline at end of file