Set OCP installer version tmp file for CI purposes 99/1099/1
authorRicardo Noriega <rnoriega@redhat.com>
Mon, 1 Jul 2019 08:12:31 +0000 (10:12 +0200)
committerRicardo Noriega <rnoriega@redhat.com>
Mon, 1 Jul 2019 08:12:31 +0000 (10:12 +0200)
Change-Id: I16690e011bde908959cdacd70918d4c12ce103df
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Makefile

index ba3394a..8ea3f09 100644 (file)
--- 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: