Skip to content

Commit

Permalink
Do not override the binary version name from drone (#436)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Boerger <tboerger@suse.de>
  • Loading branch information
tboerger authored and lunny committed Dec 21, 2016
1 parent 111c95e commit 618407c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit 618407c

Please sign in to comment.