1
0
mirror of https://gitlab.com/MisterBiggs/aero-astro-calc.git synced 2025-06-15 22:56:47 +00:00

gitlab forums solution

This commit is contained in:
Anson 2020-01-20 17:48:13 -07:00
parent 98b8b7509a
commit 40114966ca

View File

@ -13,15 +13,16 @@ black:
script:
- black --check .
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
deploy:
pypi_release:
stage: deploy
image: python:3.8
before_script:
- pip install twine
- python setup.py sdist
cache: {}
script:
- twine upload dist/* -u __token__ -p $PYPI_TOKEN
- pip install -U twine
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
- pip install helpdev==$CI_COMMIT_TAG
- helpdev --version
- pip uninstall helpdev -y
# only:
# - tags