File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ static-package:
30
30
docker rm gitbase-temp
31
31
32
32
# target used in the Dockerfile to build the static binary
33
- 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 ) )
34
- static-build : LD_FLAGS += -linkmode external -extldflags '-static -lz' -X main.version= $( VERSION || echo "undefined" ) -X main.build= $( date +"%m-%d-%Y_%H_%M_%S" ) -X main.commit= $( git rev-parse --short HEAD ) - s -w
33
+ 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 ) " )
34
+ static-build : LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
35
35
static-build : GO_BUILD_ARGS += -tags oniguruma
36
36
static-build : GO_BUILD_PATH ?= github.com/src-d/gitbase/...
37
37
static-build :
You can’t perform that action at this time.
0 commit comments