Commit 41890a3b authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added pypi release task to CI/CD. #397

parent ec38997d
Pipeline #80731 failed with stages
in 22 minutes and 11 seconds
...@@ -178,3 +178,19 @@ release_version: ...@@ -178,3 +178,19 @@ release_version:
- docker push $STABLE_IMAGE - docker push $STABLE_IMAGE
only: only:
- tags - tags
release_pypi:
stage: release
image: python:3.7
before_script:
- git submodule sync
- git submodule update --init --jobs=4
script:
- pip install --upgrade pip
- pip install fastentrypoints
- pip install pyyaml
- pip install numpy
- pip install twine
- python setup.py compile
- python setup.py sdist
- python -m twine -u $CI_TWINE_USER -p $CI_TWINE_PASSWORD dist/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment