Skip to content

Commit 1c5297a

Browse files
tisonkunLinkinStars
authored andcommitted
Update Makefile
1 parent c8c3d7c commit 1c5297a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DIR_SRC=./cmd/answer
66
DOCKER_CMD=docker
77

88
GO_ENV=CGO_ENABLED=0 GO111MODULE=on
9-
Revision=$(shell git rev-parse --short HEAD 2&>/dev/null || echo "")
9+
Revision=$(shell git rev-parse --short HEAD 2>/dev/null || echo "")
1010
GO_FLAGS=-ldflags="-X github.com/apache/incubator-answer/cmd.Version=$(VERSION) -X 'github.com/apache/incubator-answer/cmd.Revision=$(Revision)' -X 'github.com/apache/incubator-answer/cmd.Time=`date +%s`' -extldflags -static"
1111
GO=$(GO_ENV) $(shell which go)
1212

0 commit comments

Comments
 (0)