mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 15:17:18 +00:00
gitlab forums solution
This commit is contained in:
parent
98b8b7509a
commit
40114966ca
@ -13,15 +13,16 @@ black:
|
|||||||
script:
|
script:
|
||||||
- black --check .
|
- black --check .
|
||||||
|
|
||||||
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
pypi_release:
|
||||||
deploy:
|
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: python:3.8
|
cache: {}
|
||||||
before_script:
|
|
||||||
- pip install twine
|
|
||||||
- python setup.py sdist
|
|
||||||
|
|
||||||
script:
|
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:
|
# only:
|
||||||
# - tags
|
# - tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user