Pass VERSION all the way down during 'make release'

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
(cherry picked from commit d053dc2914)
pull/236/head
Andy Goldstein 2017-12-04 11:39:56 -05:00
parent ee16aab378
commit a70addcaf7
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ build: _output/bin/$(GOOS)/$(GOARCH)/$(BIN)
_output/bin/$(GOOS)/$(GOARCH)/$(BIN): build-dirs
@echo "building: $@"
@$(MAKE) shell CMD="-c '\
$(MAKE) shell CMD="-c '\
GOOS=$(GOOS) \
GOARCH=$(GOARCH) \
VERSION=$(VERSION) \
@ -156,7 +156,7 @@ checksum:
all-tar-bin: $(addprefix tar-bin-, $(CLI_PLATFORMS))
tar-bin-%:
@$(MAKE) ARCH=$* tar-bin
$(MAKE) ARCH=$* VERSION=$(VERSION) tar-bin
GIT_DESCRIBE = $(shell git describe --tags --always --dirty)
tar-bin: build