Skip to content

Commit e0b8b43

Browse files
committed
ci: tell twine upload to --skip-existing
a minor issue in a setup.cfg file used at build time (which is not even included in the published .whl package) made it fail the upload of the v3.11.1 source distribution, however the wheel for 3.11.1 was published fine already. If I want to retry uploading the fixed up sdist I need to tell twine to --skip-existing otherwise PyPI rejects the attempt to re-upload the wheel for 3.11.1 which has the same filename as the one already uploaded. And really it is not worth cutting a 3.11.2 just for this.
1 parent 6bbbec0 commit e0b8b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
echo "DEBUG: This is a final release"
112112
fi
113113
python setup.py sdist bdist_wheel
114-
twine upload dist/*
114+
twine upload --skip-existing dist/*
115115
- name: Create .pyz
116116
# currently this only builds a self-contained zip app for macOS python 3.11
117117
# to be used for fontmake export plugin for Glyphs.app

0 commit comments

Comments
 (0)