From 10826a025c8bce5cad3b47ee9d7af01c13ad03f1 Mon Sep 17 00:00:00 2001 From: Ricardo Noriega Date: Mon, 1 Jul 2019 10:12:31 +0200 Subject: [PATCH] Set OCP installer version tmp file for CI purposes Change-Id: I16690e011bde908959cdacd70918d4c12ce103df Signed-off-by: Ricardo Noriega --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ba3394a..8ea3f09 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ ifndef INSTALLER_PATH override INSTALLER_PATH = https://github.com/openshift/installer/releases/download/v0.16.1/openshift-install-linux-amd64 endif +export INSTALLER_GIT_TAG ifndef INSTALLER_GIT_TAG override INSTALLER_GIT_TAG = "v0.16.1" endif @@ -38,6 +39,7 @@ all: watch binary: @echo @echo "Building installer binary" + echo export INSTALLER_GIT_TAG=${INSTALLER_GIT_TAG} > /tmp/ocp_installer_version @./bin/$(GONAME) binary --bin_path ${BINDIR} --installer_repository ${INSTALLER_GIT_REPO} --installer_tag ${INSTALLER_GIT_TAG} build: -- 2.16.6