Remove git tag from gitcommit field
This commit is contained in:
parent
36dca0a14c
commit
3a37e0f8da
@ -1,7 +1,7 @@
|
|||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
UPDATE_VENDOR ?= 1
|
UPDATE_VENDOR ?= 1
|
||||||
VERSION ?= devel
|
VERSION ?= devel
|
||||||
GITCOMMIT = $(shell cd /src && git describe --tags --always --dirty)
|
GITCOMMIT = $(shell cd /src && git describe --always --dirty)
|
||||||
BUILDTIME = $(shell date --iso-8601=seconds)
|
BUILDTIME = $(shell date --iso-8601=seconds)
|
||||||
LDFLAGS := -X blockbook/common.version=$(VERSION) -X blockbook/common.gitcommit=$(GITCOMMIT) -X blockbook/common.buildtime=$(BUILDTIME)
|
LDFLAGS := -X blockbook/common.version=$(VERSION) -X blockbook/common.gitcommit=$(GITCOMMIT) -X blockbook/common.buildtime=$(BUILDTIME)
|
||||||
BLOCKBOOK_SRC := $(GOPATH)/src/blockbook
|
BLOCKBOOK_SRC := $(GOPATH)/src/blockbook
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user