mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 15:17:18 +00:00
copy paste
This commit is contained in:
parent
b752bd8ad9
commit
0847d20ef2
@ -16,14 +16,15 @@ black:
|
|||||||
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: python:3.8
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- python -V # Print out python version for debugging
|
|
||||||
- pip install -U setuptools wheel twine
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- python setup.py bdist_wheel
|
- pip install -U setuptools wheel twine
|
||||||
|
- python setup.py sdist bdist_wheel
|
||||||
|
# test package
|
||||||
|
- python3 -m venv test
|
||||||
|
- . test/bin/activate
|
||||||
|
- pip install -U dist/python_gitlab*.whl
|
||||||
|
- gitlab -h
|
||||||
|
- deactivate
|
||||||
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist/*
|
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist/*
|
||||||
# only:
|
only:
|
||||||
# - tags
|
- tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user