diff options
Diffstat (limited to 'python/release.sh')
-rwxr-xr-x | python/release.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/release.sh b/python/release.sh index b0bf3b3f..a71cc7f5 100755 --- a/python/release.sh +++ b/python/release.sh @@ -19,7 +19,7 @@ function run_install_test() { chmod +x test-venv/bin/protoc source test-venv/bin/activate - pip install -i ${PYPI} protobuf==${VERSION} + pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir deactivate rm -fr test-venv } @@ -47,6 +47,7 @@ DEV=$2 # Make sure all files are world-readable. find python -type d -exec chmod a+r,a+x {} + find python -type f -exec chmod a+r {} + +umask 0022 # Check that the supplied version number matches what's inside the source code. SOURCE_VERSION=`get_source_version` @@ -87,6 +88,7 @@ run_install_test ${TESTING_VERSION} python3.4 https://test.pypi.org/simple # Deploy egg/wheel packages to testing PyPI and test again. python setup.py bdist_egg bdist_wheel upload -r https://test.pypi.org/legacy/ + run_install_test ${TESTING_VERSION} python2.7 https://test.pypi.org/simple run_install_test ${TESTING_VERSION} python3.4 https://test.pypi.org/simple |