Add pip update in venv
This commit is contained in:
parent
2864300a4e
commit
d620fb6cc0
@ -15,6 +15,11 @@ if [ -z "${INSTALL_SASS+is_set}" ]; then
|
|||||||
INSTALL_SASS="false"
|
INSTALL_SASS="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If PIP_VERSION is not set, set it to "10.*"
|
||||||
|
if [ -z "${PIP_VERSION+is_set}" ]; then
|
||||||
|
PIP_VERSION="10.*"
|
||||||
|
fi
|
||||||
|
|
||||||
## Main
|
## Main
|
||||||
# Remove any existing node modules as part of initial app setup or reset
|
# Remove any existing node modules as part of initial app setup or reset
|
||||||
rm -rf ./node_modules
|
rm -rf ./node_modules
|
||||||
@ -26,6 +31,7 @@ if [ "${CREATE_VENV}" = "true" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
create_virtual_environment
|
create_virtual_environment
|
||||||
|
pip_install "pip==${PIP_VERSION}" "--upgrade"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${INSTALL_SASS}" = "true" ]; then
|
if [ "${INSTALL_SASS}" = "true" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user