Version= doesnt work on go1.4.2

fixing makefile & vagrantfile & build script to reflect that
This commit is contained in:
Cameron Sparr
2015-08-20 16:09:09 -06:00
parent a29b39e17a
commit 9d00b5e165
4 changed files with 16 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ VERSION := $(shell sh -c 'git describe --always --tags')
build: prepare
$(GOPATH)/bin/godep go build -o telegraf -ldflags \
"-X main.Version=$(VERSION)" \
"-X main.Version $(VERSION)" \
./cmd/telegraf/telegraf.go
prepare: