-
-
Notifications
You must be signed in to change notification settings - Fork 180
Release Steps for django address
Rob Banagale edited this page Jun 28, 2020
·
1 revision
- Complete bugs and changes needed for the release
git flow release start [version number]
- Ensure no stale references to current version, (find across project)
- Resolve any unexpected bugs or issues if found
- Update readme files to include changes from the release
- Update version number in
setup.py
-
git flow release finish [version number]
and merge. For required tag use Version [version number] - Push
develop
- Push
master
-
Make sure most recent versions of
setuptools
andwheel
andtwine
are installed:python3 -m pip install --user --upgrade setuptools wheel
python3 -m pip install --user --upgrade twine
-
Create the distribution build:
python3 setup.py sdist bdist_wheel
-
Upload the archives under
dist
:python3 -m twine upload --repository pypi dist/*
-
User
__token__
as the user -
Use private token as password
-