Skip to content

Latest commit

 

History

History
76 lines (37 loc) · 1.22 KB

HOW_TO_RELEASE.md

File metadata and controls

76 lines (37 loc) · 1.22 KB

Steps for making a new tagged release.

  • Stash any uncommitted changes

git stash

  • bump up. Use minor or patch, e.g.

bump2version minor/patch

  • check for issues

git show

  • After fixing issues

git add .

git commit --amend

Build pip version

python3 -m venv .venv

source .venv/bin/activate

poetry update

  • clean dist/

poetry build

  • rebase to upstream (if needed)

git rebase -i upstream/master

  • test CI on github

git push

Compile anaconda conda version

python setup.py clean --all

  • if needed export CONDA_BLD_PATH=location_of_conda_channel/

conda build conda.recipe

anaconda upload --force location_of_conda_channel/noarch/pyposeidon-X.X.X-py_0.tar.bz2

Tag

  • If all works create tag and push tag e.g.

git tag -a -m 'Release: 0.4.2 -> 0.5.0' '0.5.0'

git push --follow-tags

Set release on Github

Update conda-forge.

Publish on pypi

poetry publish

Go back to the original status

git stash apply && git stash drop