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 99750c8 commit 4b54ac2Copy full SHA for 4b54ac2
Makefile
@@ -18,7 +18,7 @@ export GO111MODULE = on
18
CMD ?= $(filter-out OWNERS, $(notdir $(wildcard ./cmd/*)))
19
GOBUILDFLAGS ?= -v
20
GIT_HEAD ?= $(shell git log -1 --format=%H)
21
-GIT_VERSION = $(shell git describe --tags --always)
+GIT_VERSION = $(shell git describe --tags --always --match='v*')
22
LDFLAGS += -extldflags '-static' \
23
-X github.com/kcp-dev/api-syncagent/internal/version.gitVersion=$(GIT_VERSION) \
24
-X github.com/kcp-dev/api-syncagent/internal/version.gitHead=$(GIT_HEAD)
0 commit comments