diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-12-21 13:00:15 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-21 20:00:15 +0800 |
commit | 618407c018cdf668ceedde7454c42fb22ba422d8 (patch) | |
tree | f74143da303b7dffbd81cd50d7b7dcd3a9bc7246 /Makefile | |
parent | 111c95ecaf2a1130b2949a323f1f48dd19502672 (diff) | |
download | gitea-618407c018cdf668ceedde7454c42fb22ba422d8.tar.gz gitea-618407c018cdf668ceedde7454c42fb22ba422d8.zip |
Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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/) |