From 229d05a40fba13a3ecf10d7fe12537ae8776b9cf Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 25 Sep 2021 12:53:30 +0200 Subject: [PATCH] Updated CI deploy pipeline to also include pip package upload to the local repo --- .gitlab-ci.yml | 3 +++ CHANGELOG.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da37cb064f..2ed96c17c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 50bab7ac1c..8da4fdad59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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