This change implements running dists verification before
performing actual upload. It is controlled by the input
called `verify_metadata` which is on by default.
This commit is contained in:
Sviatoslav Sydorenko
2020-06-03 17:40:16 +02:00
3 changed files with 20 additions and 0 deletions
+4
View File
@@ -28,6 +28,10 @@ then
are in place should you face this problem.
fi
if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
twine check ${INPUT_PACKAGES_DIR%%/}/*
fi
TWINE_USERNAME="$INPUT_USER" \
TWINE_PASSWORD="$INPUT_PASSWORD" \