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
This commit is contained in:
Kim "BKC" Carlbäcker 2016-12-13 05:48:58 +01:00 committed by Lunny Xiao
parent f0a989c1d0
commit 1d1c01875d
3 changed files with 4 additions and 12 deletions

View file

@ -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())