Merge pull request #236 from ncdc/makefile-pass-version-through
Pass VERSION all the way down during 'make release'pull/253/head
commit
6d5eeb21f5
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue