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:
parent
f0a989c1d0
commit
1d1c01875d
3 changed files with 4 additions and 12 deletions
2
main.go
2
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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue