Lines Matching +full:upload +full:- +full:dir
3 set -ex
6 grep "__version__ = '.*'" python/google/protobuf/__init__.py | sed -r "s/__version__ = '(.*)'/\1/"
14 virtualenv -p `which $PYTHON` test-venv
18 touch test-venv/bin/protoc
19 chmod +x test-venv/bin/protoc
21 source test-venv/bin/activate
22 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
24 rm -fr test-venv
31 …read -p "pip install failed, possibly due to delay between upload and availability on pip. Retry? …
37 …(pip install -i ${PYPI} protobuf==${VERSION} --no-cache-dir) || (retry_pip_install ${PYPI} ${VERSI…
41 [ $# -lt 1 ] && {
55 [ -f "python/google/protobuf/__init__.py" ] || {
60 # Make sure all files are world-readable.
61 find python -type d -exec chmod a+r,a+x {} +
62 find python -type f -exec chmod a+r {} +
68 [ "${VERSION}" == "${SOURCE_VERSION}" -o "${VERSION}.${DEV}" == "${SOURCE_VERSION}" ] || {
76 if [ -z "${DEV}" ]; then
77 read -p "You are releasing ${VERSION} to PyPI. Are you sure? [y/n]" -r
86 …sed -i -r "s/__version__ = '.*'/__version__ = '${VERSION}.${DEV}'/" python/google/protobuf/__init_…
100 twine upload --skip-existing -r testpypi -u protobuf-wheel-test dist/*
110 twine upload --skip-existing -r testpypi -u protobuf-wheel-test dist/*
116 if [ $TESTING_ONLY -eq 0 ]; then
117 read -p "Publish to PyPI? [y/n]" -r
124 # well-known types.
126 twine upload --skip-existing -u protobuf-packages dist/*
129 # and tested with --cpp_implemenation, bdist_xxx will include the _message.so
130 # file even when you no longer pass the --cpp_implemenation flag. See:
133 twine upload --skip-existing -u protobuf-packages dist/*
136 sed -i -r "s/__version__ = '.*'/__version__ = '${VERSION}'/" google/protobuf/__init__.py