We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd4f94c + 80080ee commit 889bf59Copy full SHA for 889bf59
1 file changed
.ci/gitlab-ci.yml
@@ -272,7 +272,12 @@ python-manylinux-2010-publish-internal:
272
python3 delete_remote_packages.py $GL_PKG_API_TOKEN ddisasm-*.whl;
273
fi
274
- twine check ddisasm-*.whl
275
- - twine upload --verbose --repository repypi ddisasm-*.whl --skip-existing
+ # twine --skip-existing only works on PyPI. Simulate it here.
276
+ - if pip3 download --no-deps --index-url=$EXTRA_INDEX_URL "ddisasm==$NEW_VERSION" >& /dev/null; then
277
+ echo "[INFO] Package already exists. Skipping upload.";
278
+ else
279
+ twine upload --verbose --repository repypi ddisasm-*.whl;
280
+ fi
281
282
python-manylinux-2010-publish-external:
283
stage: deploy
0 commit comments