From c6ec210c79f2590a0ba8c2d14667b8e3abf8cc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Thu, 16 May 2024 17:11:32 +0200 Subject: [PATCH] Ensure default twine args don't get overridden in "skip-existing" branch --- twine-upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twine-upload.sh b/twine-upload.sh index c94fa9d..f5b52dd 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -120,9 +120,9 @@ if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then twine check ${INPUT_PACKAGES_DIR%%/}/* fi -TWINE_EXTRA_ARGS="--disable-progress-bar $TWINE_EXTRA_ARGS" +TWINE_EXTRA_ARGS=--disable-progress-bar if [[ ${INPUT_SKIP_EXISTING,,} != "false" ]] ; then - TWINE_EXTRA_ARGS=--skip-existing + TWINE_EXTRA_ARGS="${TWINE_EXTRA_ARGS} --skip-existing" fi if [[ ${INPUT_VERBOSE,,} != "false" ]] ; then