How to issue a glacier simulator release
- Go to your local main repository (not the fork) and ensure your master branch is synced:
git checkout master
git pull
- Edit
version.py
to reflect the new version number (v1.3
,v1.4
, etc.) - On the master branch, commit the release in git:
git commit -a -m 'Release v1.X'
- Tag the release:
git tag -a v1.X -m 'v1.X'
- Push your changes to master:
git push origin master
git push origin --tags
- Update the stable branch and push it. "stable" is used as a shortcut to the latest stable version (for permalinks, etc.). It's OK to force-push to master if necessary:
git checkout stable
git rebase master
git push origin stable
git checkout master
- Edit
version.py
to revert to the dev version (i.e.v1.X+1.dev
:v1.4.dev
,v1.5.dev
, etc.) - Commit your changes and push to master again:
git commit -a -m 'Revert to dev version'
git push origin master
- Edit the Bokeh server configuration file to publish the new version on OGGM-Edu: https://github.com/OGGM/Bokeh-Docker/blob/master/bokeh.oggm.org/docker-compose.yml (I don't want to update this to stable in order to actively control that it works and force a rebuild of the server)
- Test MyBinder link and docker comment in OGGM-Edu doccumentation: https://github.com/OGGM/oggm-edu/blob/master/docs/explorer.rst