diff --git a/Makefile b/Makefile index 5201e99b0..a42f32faf 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,9 @@ else else VERSION ?= master endif - GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') -endif + # 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 LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)" diff --git a/main.go b/main.go index 976bbdf1f..07ae13a68 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,7 @@ func init() { func main() { app := cli.NewApp() - app.Name = "Gitea" + app.Name = "Gitea-WSE" app.Usage = "A painless self-hosted Git service" app.Description = `By default, gitea will start serving using the webserver with no arguments - which can alternatively be run by running the subcommand web.`