Administrivia - generalize shell code

This commit is contained in:
rocky
2017-10-12 20:36:24 -04:00
parent e42e3cc230
commit 0dfbb27af5
4 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ for pyversion in $PYVERSIONS; do
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
rm -fr build
python setup.py bdist_egg bdist_wheel
mv -v dist/uncompyle6-$VERSION-{py2.py3,py$first_two}-none-any.whl
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl
done
python ./setup.py sdist

View File

@@ -33,7 +33,7 @@ done
# Tarballs can get created from the above setup, so make sure to remove them since we want
# the tarball from master.
tarball=dist/uncompyle6-$VERSION-tar.gz
tarball=dist/${PACKAGE}-$VERSION-tar.gz
if [[ -f $tarball ]]; then
rm -v dist/uncompyle6-$VERSION-tar.gz
rm -v dist/${PACKAGE}-$VERSION-tar.gz
fi

Binary file not shown.