1
0
mirror of https://github.com/pypa/gh-action-pypi-publish synced 2024-11-30 21:22:28 +08:00

Ensure default twine args don't get overridden in "skip-existing" branch

This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-05-16 17:11:32 +02:00 committed by GitHub
parent fda43ae86a
commit c6ec210c79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,9 +120,9 @@ if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
twine check ${INPUT_PACKAGES_DIR%%/}/* twine check ${INPUT_PACKAGES_DIR%%/}/*
fi fi
TWINE_EXTRA_ARGS="--disable-progress-bar $TWINE_EXTRA_ARGS" TWINE_EXTRA_ARGS=--disable-progress-bar
if [[ ${INPUT_SKIP_EXISTING,,} != "false" ]] ; then if [[ ${INPUT_SKIP_EXISTING,,} != "false" ]] ; then
TWINE_EXTRA_ARGS=--skip-existing TWINE_EXTRA_ARGS="${TWINE_EXTRA_ARGS} --skip-existing"
fi fi
if [[ ${INPUT_VERBOSE,,} != "false" ]] ; then if [[ ${INPUT_VERBOSE,,} != "false" ]] ; then