We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f75327 commit b37fa34Copy full SHA for b37fa34
1 file changed
Makefile
@@ -12,7 +12,7 @@ DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
12
13
# SemVer with build information is defined in the SemVer 2 spec, but Docker
14
# doesn't allow +, so we use -.
15
-VERSION ?= git-$(shell git rev-parse --short HEAD)
+VERSION ?= git$(shell git rev-parse --short HEAD)
16
BINARY_DEST_DIR := rootfs/usr/bin
17
# Common flags passed into Go's linker.
18
LDFLAGS := "-s -X main.version=${VERSION}"
0 commit comments