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 fca7ddc commit 5e29152Copy full SHA for 5e29152
Makefile
@@ -14,9 +14,7 @@ JAVASCRIPTS :=
14
GOFLAGS := -i -v
15
EXTRA_GOFLAGS ?=
16
17
-VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
18
-
19
-LDFLAGS := -X "main.Version=$(VERSION)" -X "main.Tags=$(TAGS)"
+LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)"
20
21
PACKAGES ?= $(filter-out code.gitea.io/gitea/integrations,$(shell go list ./... | grep -v /vendor/))
22
SOURCES ?= $(shell find . -name "*.go" -type f)
0 commit comments