mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 15:17:18 +00:00
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
e201b231ef | |||
3371569771 | |||
e903e1876f | |||
194379bdfc | |||
254ff19e5d | |||
40114966ca | |||
98b8b7509a | |||
ba87ec5098 | |||
dfcf2fb341 | |||
e321976579 | |||
dd434bb9b6 | |||
f1a08e0a00 | |||
0847d20ef2 | |||
b752bd8ad9 | |||
6049c9dffe | |||
4809e45b86 | |||
a8f4644b75 |
@ -2,7 +2,6 @@ stages:
|
|||||||
- deploy
|
- deploy
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
|
||||||
black:
|
black:
|
||||||
stage: test
|
stage: test
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
@ -14,19 +13,12 @@ black:
|
|||||||
script:
|
script:
|
||||||
- black --check .
|
- black --check .
|
||||||
|
|
||||||
|
pypi:
|
||||||
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
|
||||||
deploy:
|
|
||||||
stage: deploy
|
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
|
stage: deploy
|
||||||
before_script:
|
|
||||||
- python -V # Print out python version for debugging
|
|
||||||
- pip install -U setuptools wheel twine
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- python setup.py bdist_wheel
|
- apt-get update -qy
|
||||||
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist dist/*
|
- apt-get install -y ruby-dev
|
||||||
|
- gem install dpl
|
||||||
only:
|
- python setup.py sdist
|
||||||
- tags
|
- dpl --provider=pypi --user=$TWINE_USERNAME --password=$TWINE_PASSWORD --skip_existing=true
|
||||||
|
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.1.0",
|
version="2020.2.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