Compare commits

...

2 Commits

Author SHA1 Message Date
Gitea 2b09faac56 Merge branch 'master' of git.iris-cloud.de:ByteList/gitea 2019-02-05 09:42:02 +01:00
Gitea 3b3e696870 Versioning 2019-02-05 09:41:32 +01:00
2 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,8 @@ else
else else
VERSION ?= master VERSION ?= master
endif endif
GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') # GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
GITEA_VERSION := wse:$(shell git describe --tags --always | sed 's/^v//' | cut -d"-" -f4)
endif endif
LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)" LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"

View File

@ -36,7 +36,7 @@ func init() {
func main() { func main() {
app := cli.NewApp() app := cli.NewApp()
app.Name = "Gitea" app.Name = "Gitea-WSE"
app.Usage = "A painless self-hosted Git service" app.Usage = "A painless self-hosted Git service"
app.Description = `By default, gitea will start serving using the webserver with no app.Description = `By default, gitea will start serving using the webserver with no
arguments - which can alternatively be run by running the subcommand web.` arguments - which can alternatively be run by running the subcommand web.`