change PyPI distribution scripts
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
PYTHON=$(which python)
|
PYTHON=$(which python)
|
||||||
|
|
||||||
script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
|
script_dir=$(dirname "$(readlink -f -- "$BASH_SOURCE")")
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ 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 "pyinotifyd-*.*.*.tar.gz" -printf "%f\n" | sed "s#\.tar\.gz##g"); do
|
||||||
|
|||||||
Reference in New Issue
Block a user