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.
2 parents 99750c8 + 4b54ac2 commit 7d49e3dCopy full SHA for 7d49e3d
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