Skip to content

Commit

Permalink
Merge pull request #236 from ncdc/makefile-pass-version-through
Browse files Browse the repository at this point in the history
Pass VERSION all the way down during 'make release'
  • Loading branch information
nrb authored Dec 4, 2017
2 parents ee16aab + a70addc commit 6d5eeb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6d5eeb2

Please sign in to comment.