Remove git tag from gitcommit field

This commit is contained in:
Jakub Matys
2018-10-01 16:34:25 +02:00
parent 36dca0a14c
commit 3a37e0f8da

View File

@@ -1,7 +1,7 @@
SHELL = /bin/bash
UPDATE_VENDOR ?= 1
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)
LDFLAGS := -X blockbook/common.version=$(VERSION) -X blockbook/common.gitcommit=$(GITCOMMIT) -X blockbook/common.buildtime=$(BUILDTIME)
BLOCKBOOK_SRC := $(GOPATH)/src/blockbook