Run 13 (tag) : twine « UnsupportedConfiguration: does not have support for --skip-existing ». Un doublon fera échouer l'envoi, comportement voulu.
This commit is contained in:
1 parent
ab48f31f18
commit
7118a8721a
1 file changed
+4
-1
+4
-1
@@ -12,9 +12,12 @@ if [ -x "$ROOT/work/venv/bin/pip" ]; then PIP=$ROOT/work/venv/bin/pip; TWINE=$RO
|
||||
else PIP="python3 -m pip"; TWINE=twine; fi
|
||||
$PIP install -q twine
|
||||
|
||||
# Le registre PyPI de Gitea ne connaît pas --skip-existing (twine refuse alors
|
||||
# toute la configuration) : un fichier déjà présent fait échouer l'envoi, ce qui
|
||||
# est voulu pour un tag — on ne republie pas une version.
|
||||
echo "== PyPI : $GITEA_URL/api/packages/$OWNER/pypi"
|
||||
TWINE_USERNAME=$PACKAGES_USER TWINE_PASSWORD=$PACKAGES_TOKEN \
|
||||
$TWINE upload --non-interactive --skip-existing \
|
||||
$TWINE upload --non-interactive \
|
||||
--repository-url "$GITEA_URL/api/packages/$OWNER/pypi" "$DIST"/*.whl
|
||||
|
||||
for deb in "$DIST"/*.deb; do
|
||||
|
||||
Reference in new issue
Block a user