Compare commits

..

No commits in common. "2b09faac561e586124bfbe6b32af8d118b5fafca" and "6391550f87368b2a697b4fe085cbfccd3e121303" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -30,9 +30,8 @@ else
else
VERSION ?= master
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
GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
endif
LDFLAGS := -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"

View File

@ -36,7 +36,7 @@ func init() {
func main() {
app := cli.NewApp()
app.Name = "Gitea-WSE"
app.Name = "Gitea"
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.`