diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68eb5db..100dbb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,6 @@ stages: - test - #- build - #- deploy + - pypi-twine test: stage: test @@ -12,3 +11,14 @@ test: - env.vanilla expire_in: 1 hour +pypi-twine: + stage: pypi-twine + tags: + - build + only: + - tags + script: + - pip install --upgrade pip + - pip install twine + - python3 setup.py sdist bdist_wheel + - twine upload dist/*