Install twine for MacOS nightly releases.

PiperOrigin-RevId: 354337564
Change-Id: Ib3709f2b6499d9427262076890c7da2399770a77
This commit is contained in:
Amit Patankar 2021-01-28 10:13:32 -08:00 committed by TensorFlower Gardener
parent 34a6621321
commit 9d7088c351
3 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,7 @@ for f in $(ls pip_pkg/tf_nightly*dev*macosx*.whl); do
# Upload the PIP package if whl test passes. # Upload the PIP package if whl test passes.
if [ ${RETVAL} -eq 0 ]; then if [ ${RETVAL} -eq 0 ]; then
echo "Basic PIP test PASSED, Uploading package: ${f}" echo "Basic PIP test PASSED, Uploading package: ${f}"
python -m pip install twine
python -m twine upload -r pypi-warehouse "${f}" python -m twine upload -r pypi-warehouse "${f}"
else else
echo "Basic PIP test FAILED, will not upload ${f} package" echo "Basic PIP test FAILED, will not upload ${f} package"

View File

@ -57,6 +57,7 @@ for f in $(ls pip_pkg/tf_nightly*dev*macosx*.whl); do
# Upload the PIP package if whl test passes. # Upload the PIP package if whl test passes.
if [ ${RETVAL} -eq 0 ]; then if [ ${RETVAL} -eq 0 ]; then
echo "Basic PIP test PASSED, Uploading package: ${f}" echo "Basic PIP test PASSED, Uploading package: ${f}"
python -m pip install twine
python -m twine upload -r pypi-warehouse "${f}" python -m twine upload -r pypi-warehouse "${f}"
else else
echo "Basic PIP test FAILED, will not upload ${f} package" echo "Basic PIP test FAILED, will not upload ${f} package"

View File

@ -57,6 +57,7 @@ for f in $(ls pip_pkg/tf_nightly*dev*macosx*.whl); do
# Upload the PIP package if whl test passes. # Upload the PIP package if whl test passes.
if [ ${RETVAL} -eq 0 ]; then if [ ${RETVAL} -eq 0 ]; then
echo "Basic PIP test PASSED, Uploading package: ${f}" echo "Basic PIP test PASSED, Uploading package: ${f}"
python -m pip install twine
python -m twine upload -r pypi-warehouse "${f}" python -m twine upload -r pypi-warehouse "${f}"
else else
echo "Basic PIP test FAILED, will not upload ${f} package" echo "Basic PIP test FAILED, will not upload ${f} package"