-
Ensure you have the latest version from upstream and update your fork
git pull upstream master git push origin master
-
Clean the repo
git clean -xfdi
-
Update CHANGELOG.md (if any):
-
Update version in
__init__.py
-
Commit changes
git add . git commit -m "Set release version"
-
Create distributions
python setup.py sdist bdist_wheel
-
Upload distributions
twine upload dist/* -u <username> -p <password>
-
Add release tag
git tag -a vX.X.X -m 'Release version'
-
Update
__init__.py
-
Commint changes
git add . git commit -m "Restore dev version"
-
Push changes
git push upstream master git push origin master git push --tags
- Update recipe on the conda forge feedstock: https://github.com/conda-forge/semi-ate-feedstock