mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 07:06:42 +00:00
gitlab forums solution
This commit is contained in:
parent
98b8b7509a
commit
40114966ca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user