Skip to content
Browse files
Notes on pushing a release to PyPI
  • Loading branch information
machristie committed Jun 30, 2021
1 parent 5173c93 commit e71e1f36c6b496aed1916a1687b1c0999ab4d806
Showing 1 changed file with 28 additions and 0 deletions.
@@ -76,3 +76,31 @@ flake8 .
autopep8 -i -aaa -r .
isort .

### Making a new release

1. Update the version in
2. Tag the repo with the same version, with the format `v${version_number}`. For
example, if the version number in is "1.2" then tag the repo with


3. In a clean checkout

cd /tmp/
git clone /path/to/airavata-django-portal-sdk/ -b VERSION
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade build
python3 -m build

4. Push to Optionally can push to See
<> for more info.

python3 -m pip install --upgrade twine
python3 -m twine upload dist/*

0 comments on commit e71e1f3

Please sign in to comment.