1
0
mirror of https://gitlab.com/MisterBiggs/aero-astro-calc.git synced 2025-06-15 22:56:47 +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:
Anson Biggs 2020-01-20 21:13:45 +00:00
commit a27055ec22

View File

@ -1,11 +1,17 @@
before_script:
- python -V # Print out python version for debugging
- pip install setuptools wheel
stages:
- deploy
# 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:
- python setup.py bdist_wheel
- python -m twine upload dist/*
- echo __token__
- echo $PYPI_TOKEN
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist dist/*
only:
- tags