We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b92b6 commit 921c627Copy full SHA for 921c627
Makefile
@@ -9,7 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
9
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
10
JAVASCRIPTS :=
11
12
-VERSION = $(shell git describe --tags --always | sed 's/-/+/')
+VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
13
14
LDFLAGS += -X "main.Version=$(VERSION)"
15
main.go
@@ -18,7 +18,7 @@ import (
18
)
19
20
// Version holds the current Gitea version
21
-var Version = "v0.9.0+dev"
+var Version = "1.0.0+dev"
22
23
func init() {
24
runtime.GOMAXPROCS(runtime.NumCPU())
templates/.VERSION
@@ -1 +1 @@
1
-v0.9.0+dev
+1.0.0+dev
0 commit comments