Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit d8709f1

Browse files
authored
Don't exit on twine upload failures (#607)
1 parent 4179c58 commit d8709f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/twine_upload.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
2929
# Ensure that we have the latest versions of Twine, Wheel, and Setuptools.
3030
python3 -m pip install --upgrade twine wheel setuptools
3131

32-
# Build the distribution.
32+
# Build the distributions.
3333
python3 setup.py bdist_wheel
3434

3535
for d in context/*/ contrib/*/ ; do
@@ -39,5 +39,7 @@ for d in context/*/ contrib/*/ ; do
3939
popd
4040
done
4141

42-
# Upload the distribution.
43-
twine upload dist/*
42+
# Upload the distributions.
43+
for p in dist/* ; do
44+
twine upload $p
45+
done

0 commit comments

Comments
 (0)