Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.76 KB

RELEASE.md

File metadata and controls

65 lines (37 loc) · 1.76 KB

Release process

To release a new version of pyswmm on PyPI:

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

To release a new version of pyswmm on conda-forge:

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