Pass VERSION to engine static builds

VERSION file does not exist anymore for moby/moby so we need to
compensate

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Upstream-commit: c411321b8870101c227b03e64930260984c862fd
Component: packaging
This commit is contained in:
Eli Uriegas
2017-12-12 00:07:40 +00:00
parent 376d2e9872
commit 5b1b2d3dcf
+2 -2
View File
@@ -50,10 +50,10 @@ static-cli:
$(MAKE) -C $(CLI_DIR) -f docker.Makefile VERSION=$(VERSION) build
static-engine:
$(MAKE) -C $(ENGINE_DIR) binary
$(MAKE) -C $(ENGINE_DIR) VERSION=$(VERSION) binary
cross-all-cli:
$(MAKE) -C $(CLI_DIR) -f docker.Makefile VERSION=$(VERSION) cross
cross-win-engine:
$(MAKE) -C $(ENGINE_DIR) DOCKER_CROSSPLATFORMS=windows/amd64 cross
$(MAKE) -C $(ENGINE_DIR) VERSION=$(VERSION) DOCKER_CROSSPLATFORMS=windows/amd64 cross