Skip to content

Commit 618407c

Browse files
tboergerlunny
authored andcommitted
Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <[email protected]>
1 parent 111c95e commit 618407c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
99
STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
1010
JAVASCRIPTS :=
1111

12-
VERSION = $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
13-
14-
LDFLAGS += -X "main.Version=$(VERSION)"
12+
LDFLAGS += -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')"
1513

1614
TARGETS ?= linux/*,darwin/*,windows/*
1715
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)

0 commit comments

Comments
 (0)