Skip to content
Gaute Hope edited this page Nov 16, 2022 · 18 revisions

Releasing a new OpenDrift version

  • Checkout branch master from origin (official opendrift repository)
  • Make sure master is up-to-date (git pull)
  • Update history.rst
  • Update version in pyproject.toml.
  • Update version in opendrift/version.py.
  • Stage changes: git add -u .
  • Make a release commit on master: git commit -m "Release x.y.z"
  • Push the release commit to origin: git push
  • Tag the new release: git tag vx.y.z
  • Push the tag to the origin repository: git push origin --tags

PyPi and Conda

  • When a new tag is created as in the previous section a package will automatically be uploaded to PyPi
  • conda-forge will detect this new package after a while and automatically create a PR for the new version
  • Review the PR and merge it and a new package will be uploaded to conda-forge
  • (If you're in a hurry, the last two steps can be done manually)

Clone this wiki locally