From 6555db64fdc8e7b8cd76bbd0ec76564b9f3ad6d7 Mon Sep 17 00:00:00 2001 From: DW Talton Date: Mon, 7 Oct 2019 13:56:49 -0700 Subject: [PATCH] Correct python environment variable The python environment variable for virtualenv should be $PYTHON not $PYTHON_VERSION. Issue-ID: CIMAN-1 Signed-off-by: DW Talton Change-Id: I975bc16efd572ae56b003fde134bed82178de6ff --- shell/pypi-dist-build.sh | 2 +- shell/pypi-publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh index bc3d4ae65..cd4afb62d 100644 --- a/shell/pypi-dist-build.sh +++ b/shell/pypi-dist-build.sh @@ -2,7 +2,7 @@ # Script to build PyPI artifacts set -e -x -o pipefail -virtualenv -p "$PYTHON_VERSION" /tmp/v/twine +virtualenv -p "$PYTHON" /tmp/v/twine source "/tmp/v/twine/bin/activate" pip install twine wheel diff --git a/shell/pypi-publish.sh b/shell/pypi-publish.sh index 2510ed38b..e097b1687 100644 --- a/shell/pypi-publish.sh +++ b/shell/pypi-publish.sh @@ -2,7 +2,7 @@ # Script to publush PyPI artifacts set -e -x -o pipefail -virtualenv -p "$PYTHON_VERSION" /tmp/v/twine +virtualenv -p "$PYTHON" /tmp/v/twine source "/tmp/v/twine/bin/activate" pip install twine -- 2.16.6