mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 23:26:48 +00:00
Compare commits
No commits in common. "master" and "2020.2.0" have entirely different histories.
@ -2,6 +2,7 @@ stages:
|
|||||||
- deploy
|
- deploy
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
|
||||||
black:
|
black:
|
||||||
stage: test
|
stage: test
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
@ -13,12 +14,19 @@ black:
|
|||||||
script:
|
script:
|
||||||
- black --check .
|
- black --check .
|
||||||
|
|
||||||
pypi:
|
|
||||||
image: python:3.8
|
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
||||||
|
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:
|
||||||
- apt-get update -qy
|
- python setup.py bdist_wheel
|
||||||
- apt-get install -y ruby-dev
|
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist dist/*
|
||||||
- gem install dpl
|
|
||||||
- python setup.py sdist
|
only:
|
||||||
- dpl --provider=pypi --user=$TWINE_USERNAME --password=$TWINE_PASSWORD --skip_existing=true
|
- tags
|
||||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="aero_astro_calc",
|
name="aero_astro_calc",
|
||||||
version="2020.2.0",
|
version="2020.1.0",
|
||||||
author="Anson Biggs",
|
author="Anson Biggs",
|
||||||
author_email="anson@ansonbiggs.com",
|
author_email="anson@ansonbiggs.com",
|
||||||
description="A small python library with functions to assist engineers.",
|
description="A small python library with functions to assist engineers.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user