Skip to content

Commit 2065bfa

Browse files
adjusting test pypi publish (#176)
1 parent 3762443 commit 2065bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
python -m venv venv-test-pypi
7070
venv-test-pypi/bin/python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pymc-experimental
7171
echo "Checking import and version number"
72-
venv-test-pypi/bin/python -c "import pymc_experimental; assert pymc_experimental.__version__ == '${{ github.ref_name }}'"
72+
venv-test-pypi/bin/python -c "import pymc_experimental; assert pymc_experimental.__version__ == '${{ github.ref_name }}'[1:]"
7373
7474
publish:
7575
name: upload release to PyPI

0 commit comments

Comments
 (0)