fix: pip upgrade httprunner when installing hrp

This commit is contained in:
debugtalk
2022-06-11 23:46:04 +08:00
parent 1212e1629d
commit abd31a8d88
2 changed files with 8 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
## v4.1.3 (2022-06-12)
- fix: pip upgrade httprunner when installing hrp
## v4.1.2 (2022-06-09)

View File

@@ -135,6 +135,13 @@ function main() {
hrp -v
echo "$ hrp -h"
hrp -h
echo
if [[ -f $HOME/.hrp/venv/bin/pip3 ]]; then
echoInfo "Upgrade httprunner..."
echo "$ $HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version"
$HOME/.hrp/venv/bin/pip3 install --upgrade httprunner==$version
fi
}
main