Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.35 KB

HOWTO_RELEASE.md

File metadata and controls

37 lines (35 loc) · 1.35 KB

How to issue a glacier simulator release

  1. Go to your local main repository (not the fork) and ensure your master branch is synced:
git checkout master
git pull
  1. Edit version.py to reflect the new version number (v1.3, v1.4, etc.)
  2. On the master branch, commit the release in git:
git commit -a -m 'Release v1.X'
  1. Tag the release:
git tag -a v1.X -m 'v1.X'
  1. Push your changes to master:
git push origin master
git push origin --tags
  1. 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
  1. Edit version.py to revert to the dev version (i.e. v1.X+1.dev: v1.4.dev, v1.5.dev, etc.)
  2. Commit your changes and push to master again:
git commit -a -m 'Revert to dev version'
git push origin master
  1. 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)
  2. Test MyBinder link and docker comment in OGGM-Edu doccumentation: https://github.com/OGGM/oggm-edu/blob/master/docs/simulator.rst