To release a new version of csu_radartools
on PyPI:
-
git checkout master
-
git fetch upstream && get merge upstream/master
-
git clean -xfd
-
Ensure CHANGELOG is up to date
-
Update
_version.py
(set release version, remove 'dev0') -
git add . && git commit -m 'Release X.X.X'
-
conda update pip wheel setuptools twine numpy cython
orpip install -U pip
thenpip install -U wheel setuptools twine numpy cython
-
python setup.py sdist bdist_wheel
-
twine upload dist/*
-
git tag -a vX.X.X -m 'Release X.X.X'
-
Update
_version.py
(add 'dev0' and increment minor) -
git add . && git commit -m 'Increment to dev version'
-
git checkout master
-
git push upstream master
-
git push upstream --tags
-
Publish release annoucement to Github Releases page