Skip to content
Snippets Groups Projects
Commit 8cab2033 authored by dilawar's avatar dilawar :ant:
Browse files

cicd: failure to upload is an error now.

parent 67706867
No related branches found
No related tags found
1 merge request!14v0.2.1
Pipeline #4132 passed with stages
in 4 minutes and 37 seconds
...@@ -8,5 +8,6 @@ VERSION=${_version#'v'} # remove prefixed 'v' if any ...@@ -8,5 +8,6 @@ VERSION=${_version#'v'} # remove prefixed 'v' if any
cp pyproject.toml /tmp/pyproject.toml.1 cp pyproject.toml /tmp/pyproject.toml.1
poetry version ${VERSION} poetry version ${VERSION}
poetry build 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 mv /tmp/pyproject.toml.1 pyproject.toml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment