aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <liujisi@google.com>2017-08-17 13:50:50 -0700
committerGitHub <noreply@github.com>2017-08-17 13:50:50 -0700
commit29c24abbf1a88684987327419463a5915f2de69f (patch)
tree200a199efc5dd9d9e1c6755ad3b64c7391fca146
parentd1484cdec622febf40f0b798189f4efc878c3a0c (diff)
parent5d5df84913dc6e3e37a1ed524a9061a3234720a4 (diff)
downloadprotobuf-29c24abbf1a88684987327419463a5915f2de69f.tar.gz
protobuf-29c24abbf1a88684987327419463a5915f2de69f.tar.bz2
protobuf-29c24abbf1a88684987327419463a5915f2de69f.zip
Merge pull request #3502 from pherl/pypi
Update testpypi URLs
-rwxr-xr-xpython/release.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/release.sh b/python/release.sh
index e7b1a4aa..b0bf3b3f 100755
--- a/python/release.sh
+++ b/python/release.sh
@@ -79,16 +79,16 @@ python setup.py build
python setup.py test
# Deploy source package to testing PyPI
-python setup.py sdist upload -r https://testpypi.python.org/pypi
+python setup.py sdist upload -r https://test.pypi.org/legacy/
# Test locally with different python versions.
-run_install_test ${TESTING_VERSION} python2.7 https://testpypi.python.org/simple
-run_install_test ${TESTING_VERSION} python3.4 https://testpypi.python.org/simple
+run_install_test ${TESTING_VERSION} python2.7 https://test.pypi.org/simple
+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://testpypi.python.org/pypi
-run_install_test ${TESTING_VERSION} python2.7 https://testpypi.python.org/simple
-run_install_test ${TESTING_VERSION} python3.4 https://testpypi.python.org/simple
+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
echo "All install tests have passed using testing PyPI."