We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07fab5e + aaabf97 commit 6293321Copy full SHA for 6293321
Makefile
@@ -31,7 +31,7 @@ static-package:
31
docker rm gitbase-temp
32
33
# target used in the Dockerfile to build the static binary
34
-static-build: VERSION ?= $(shell git describe --exact-match --tags 2>/dev/null || "dev-$(git rev-parse --short HEAD)$(test -n "`git status --porcelain`" && echo "-dirty" || true)")
+static-build: VERSION = $(shell git describe --exact-match --tags 2>/dev/null || "dev-$(git rev-parse --short HEAD)$(test -n "`git status --porcelain`" && echo "-dirty" || true)")
35
static-build: LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
36
static-build: GO_BUILD_PATH ?= github.com/src-d/gitbase/...
37
static-build:
0 commit comments