Disable the progress bar when running `twine upload`

PR #231
Resolves #229

Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
This commit is contained in:
Peter Shen 2024-05-16 11:14:58 -04:00 committed by GitHub
parent 771d60f44b
commit 67a07ebbed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -121,9 +121,9 @@ if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
twine check ${INPUT_PACKAGES_DIR%%/}/* twine check ${INPUT_PACKAGES_DIR%%/}/*
fi fi
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