1.) Ensure you have the latest version from upstream and update your fork
git pull upstream master
git push origin master
2.) Update CHANGELOG.md, using loghub
loghub OpenWaterAnalytics/pyswmm -m <milestone> -u <username> -ilr "reso:completed" -ilg "type:feature" "New Features" -ilg "type:enhancements" "Enhancements" -ilg "type:bug" "Bugs fixed"
3.) Update pyswmm/__init__.py
(set release version, remove 'dev0')
4.) Commit changes
git add .
git commit -m "Set release version"
5.) Create distributions
python setup.py sdist bdist_wheel
6.) Upload distributions to PyPI
twine upload dist/* -u <username> -p <password>
7.) Add release tag
git tag -a vX.X.X -m 'Release version'
8.) Update __init__.py
(add 'dev0' and increment minor)
9.) Commint changes
git add .
git commit -m "Restore dev version"
10.) Push changes
git push upstream master
git push origin master
git push --tags
1.) Ensure you have the latest version from upstream and update your fork
git pull upstream master
git push origin master
2.) Update meta.yaml version and hash
3.) Commit changes
git add .
git commit -m "Update conda recipe"
4.) Update recipe on conda-forge/pyswmm-feedstock
5.) Push changes
git push upstream master
git push origin master