Update .gitlab-ci.yml
This commit is contained in:
parent
bd8335703d
commit
ef9c51b115
1 changed files with 12 additions and 2 deletions
|
|
@ -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/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue