From 618407c018cdf668ceedde7454c42fb22ba422d8 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Wed, 21 Dec 2016 13:00:15 +0100 Subject: [PATCH] Do not override the binary version name from drone (#436) Signed-off-by: Thomas Boerger --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bc6c05c323e3..2f4f6e01e1ac 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g') STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) JAVASCRIPTS := -VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') - -LDFLAGS += -X "main.Version=$(VERSION)" +LDFLAGS += -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" TARGETS ?= linux/*,darwin/*,windows/* PACKAGES ?= $(shell go list ./... | grep -v /vendor/)