diff --git a/.ci/release.sh b/.ci/release.sh index c6e1620a20340a5d686781031cbbe4bb8a81f1e2..b2ea58780bc474f48e4717171339c9cd94536ee1 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -8,5 +8,6 @@ VERSION=${_version#'v'} # remove prefixed 'v' if any cp pyproject.toml /tmp/pyproject.toml.1 poetry version ${VERSION} poetry build -poetry run twine upload dist/*.whl -u __token__ -p $BITIA_PYPI_TOKEN || echo "Failed to upload" +poetry add twine +poetry run twine upload dist/*.whl -u __token__ -p $BITIA_PYPI_TOKEN mv /tmp/pyproject.toml.1 pyproject.toml