fix pypi/distribute.sh

This commit is contained in:
2022-01-11 22:24:44 +01:00
parent 16d5b4b6d6
commit 0f0687bee3

View File

@@ -7,9 +7,10 @@ script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
pkg_dir=$(realpath "${script_dir}/../..") pkg_dir=$(realpath "${script_dir}/../..")
cd "${pkg_dir}/dist" cd "${pkg_dir}/dist"
ls -la
msg="Select version to distribute (cancel with CTRL+C):" msg="Select version to distribute (cancel with CTRL+C):"
echo "${msg}" echo "${msg}"
select version in $(find . -maxdepth 1 -type f -name "pyinotifyd-*.*.*.tar.gz" -printf "%f\n" | sed "s#\.tar\.gz##g"); do select version in $(find . -maxdepth 1 -type f -name "pyquarantine-*.*.*.tar.gz" -printf "%f\n" | sed "s#\.tar\.gz##g"); do
[ -n "${version}" ] && break [ -n "${version}" ] && break
echo -e "\ninvalid choice\n\n${msg}" echo -e "\ninvalid choice\n\n${msg}"
done done