forked from CGM_Public/pretix_original
PyPI CI: Add check-manifest and twine check
This commit is contained in:
@@ -20,15 +20,17 @@ pypi:
|
|||||||
- cp /keys/.pypirc ~/.pypirc
|
- cp /keys/.pypirc ~/.pypirc
|
||||||
- virtualenv env
|
- virtualenv env
|
||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
- pip install -U pip wheel setuptools
|
- pip install -U pip wheel setuptools check-manifest twine
|
||||||
- XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt
|
- XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt
|
||||||
- cd src
|
- cd src
|
||||||
- python setup.py sdist
|
- python setup.py sdist
|
||||||
- pip install dist/pretix-*.tar.gz
|
- pip install dist/pretix-*.tar.gz
|
||||||
- python -m pretix migrate
|
- python -m pretix migrate
|
||||||
- python -m pretix check
|
- python -m pretix check
|
||||||
- python setup.py sdist upload
|
- check-manifest
|
||||||
- python setup.py bdist_wheel upload
|
- python setup.py sdist bdist_wheel
|
||||||
|
- twine check dist/*
|
||||||
|
- twine upload dist/*
|
||||||
tags:
|
tags:
|
||||||
- python3
|
- python3
|
||||||
only:
|
only:
|
||||||
|
|||||||
Reference in New Issue
Block a user