mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 15:17:18 +00:00
Merge branch 'MisterBiggs-master-patch-15975' into 'master'
Update .gitlab-ci.yml See merge request MisterBiggs/aero-astro-calc!1
This commit is contained in:
commit
a27055ec22
@ -1,11 +1,17 @@
|
|||||||
before_script:
|
stages:
|
||||||
- python -V # Print out python version for debugging
|
- deploy
|
||||||
- pip install setuptools wheel
|
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
||||||
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
image: python:3.8
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- python -V # Print out python version for debugging
|
||||||
|
- pip install -U setuptools wheel twine
|
||||||
|
|
||||||
run:
|
|
||||||
script:
|
script:
|
||||||
- python setup.py bdist_wheel
|
- python setup.py bdist_wheel
|
||||||
- python -m twine upload dist/*
|
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist dist/*
|
||||||
- echo __token__
|
|
||||||
- echo $PYPI_TOKEN
|
|
||||||
|
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user