Skip to content

Commit 541276d

Browse files
committed
build now uses the module name
1 parent 5e41bda commit 541276d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

release-test.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pushd src/${package}
7171
pip install -rtest-requirements.txt build
7272
make dist
7373
#make test
74-
cp dist/${package}*tar.gz ../../../testenv3/
74+
cp dist/${module}*tar.gz ../../../testenv3/
7575
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
7676
popd # ../.. no subdir named ${proj} here, safe for py.testing the installed module
7777
# shellcheck disable=SC2086
@@ -87,13 +87,13 @@ source bin/activate
8787
rm -f lib/python-wheels/setuptools* \
8888
&& pip install --force-reinstall -U pip==${pipver} \
8989
&& pip install setuptools==${setuptoolsver} wheel
90-
package_tar=$(find . -name "${package}*tar.gz")
90+
package_tar=$(find . -name "${module}*tar.gz")
9191
pip install "-r${DIR}/test-requirements.txt" udocker build
9292
pip install "${package_tar}${extras}"
9393
udocker install
9494
mkdir out
95-
tar --extract --directory=out -z -f ${package}*.tar.gz
96-
pushd out/${package}*
95+
tar --extract --directory=out -z -f ${module}*.tar.gz
96+
pushd out/${module}*
9797
make dist
9898
make test
9999
pip install "-r${DIR}/mypy-requirements.txt"

0 commit comments

Comments
 (0)