diff options
author | Jisi Liu <liujisi@google.com> | 2018-01-03 09:14:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 09:14:54 -0800 |
commit | 5b1caea024138236451d60d9df5416253f648fb1 (patch) | |
tree | ff57ee9e8c6c7b98f3ca46fc56baf7df30845deb | |
parent | 88e5573b9a8a5c4038f9db3633610f032aab277d (diff) | |
parent | 8fc40b5502f11b5619f17dc30d79e7144abf3b39 (diff) | |
download | protobuf-5b1caea024138236451d60d9df5416253f648fb1.tar.gz protobuf-5b1caea024138236451d60d9df5416253f648fb1.tar.bz2 protobuf-5b1caea024138236451d60d9df5416253f648fb1.zip |
Merge pull request #4090 from pherl/nopassword
Fix uploading binary wheel.
-rwxr-xr-x | python/release/wheel/protobuf_optimized_pip.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/python/release/wheel/protobuf_optimized_pip.sh b/python/release/wheel/protobuf_optimized_pip.sh index 064d1d2a..98306f4c 100755 --- a/python/release/wheel/protobuf_optimized_pip.sh +++ b/python/release/wheel/protobuf_optimized_pip.sh @@ -6,7 +6,7 @@ set -ex # Print usage and fail. function usage() { - echo "Usage: protobuf_optimized_pip.sh PROTOBUF_VERSION PYPI_USERNAME PYPI_PASSWORD" >&2 + echo "Usage: protobuf_optimized_pip.sh PROTOBUF_VERSION" >&2 exit 1 # Causes caller to exit because we use -e. } @@ -25,7 +25,7 @@ if [ $0 != ./protobuf_optimized_pip.sh ]; then exit 1 fi -if [ $# -lt 3 ]; then +if [ $# -lt 1 ]; then usage exit 1 fi @@ -63,7 +63,4 @@ do build_wheel $PYTHON_VERSION done -/opt/python/cp27-cp27mu/bin/twine upload wheelhouse/* <<! -$PYPI_USERNAME -$PYPI_PASSWORD -! +/opt/python/cp27-cp27mu/bin/twine upload wheelhouse/* |