Updated CI deploy pipeline to also include pip package upload to the local repo

This commit is contained in:
Fabio Manganiello 2021-09-25 12:53:30 +02:00
parent c4bd854be2
commit 229d05a40f
2 changed files with 4 additions and 1 deletions

View File

@ -60,4 +60,7 @@ upload-pip-package:
- export VERSION=$(grep -e '^\s*__version__\s*=' platypush/__init__.py | sed -r -e 's/^\s*__version__\s*=\s*.(.+?).\s*$/\1/')
- source ~/.credentials/pypi.env
- python setup.py sdist bdist_wheel
# Upload to PyPI
- twine upload ./dist/platypush-${VERSION}.tar.gz
# Upload to the local package repository
- TWINE_PASSWORD=$LOCAL_TWINE_PASSWORD TWINE_USERNAME=$LOCAL_TWINE_USERNAME twine upload --repository-url https://git.platypush.tech/api/v4/projects/3/packages/pypi dist/platypush-${VERSION}.tar.gz

View File

@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
Given the high speed of development in the first phase, changes are being reported only starting from v0.20.2.
## [Unreleased]
## [0.22.2] - 2021-09-25
## Added