Refactor the hash helper script to use pathlib and CLI args

This commit is contained in:
Sviatoslav Sydorenko
2022-01-09 00:24:29 +01:00
committed by GitHub
parent 8682135dac
commit 0575dc8eab
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ if [[ ${INPUT_VERBOSE,,} != "false" ]] ; then
fi
if [[ ${INPUT_PRINT_HASH,,} != "false" || ${INPUT_VERBOSE,,} != "false" ]] ; then
python /app/print-hash.py
python /app/print-hash.py "${INPUT_PACKAGES_DIR%%/}"
fi
TWINE_USERNAME="$INPUT_USER" \