mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 14:25:22 +00:00
Merge pull request #235 from ncdc/makefile-pass-version-through
Pass VERSION all the way down during 'make release'
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user