How to issue a hma glacial lake release
- Go to your local main repository (not the fork) and ensure your main branch is synced:
git checkout main
git pull
- Edit
version.py
to reflect the new version number (v1.3
,v1.4
, etc.) - On the main 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 main:
git push origin main
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 main if necessary:
git checkout stable
git rebase main
git push origin stable
git checkout main
- 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 main again:
git commit -a -m 'Revert to dev version'
git push origin main
- 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/hma_glacial_lakes.rst