aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-13 05:48:58 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2016-12-13 12:48:58 +0800
commit1d1c01875dc4f07b204a40aa662aa1782bf000fd (patch)
treecdeed3ba917dfd68951e93d60e4738e08f419316 /main.go
parentf0a989c1d0843ab47a48be5219470a93a462e302 (diff)
downloadgitea-1d1c01875dc4f07b204a40aa662aa1782bf000fd.tar.gz
gitea-1d1c01875dc4f07b204a40aa662aa1782bf000fd.zip
Autogenerate Version on build (#190)
* Autogenerate Version On Build * Fixes * Changed Version to v0.9.0 * balls * I hate newlines * Don't remove .VERSION-file on `make clean` * v0.9.0 => 1.0.0 * damn new-lines... * Always rebuild templates/.VERSION * Delete .VERSION * Update Makefile
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3383400082..620378491a 100644
--- a/main.go
+++ b/main.go
@@ -18,7 +18,7 @@ import (
)
// Version holds the current Gitea version
-const Version = "0.9.99.0915"
+var Version = "1.0.0+dev"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())