Skip to content

HOWTORELEASE

affeldt-aist edited this page Aug 10, 2024 · 26 revisions

How to release

Publish a release

  1. Check that the milestone is complete

  2. Announce on Zulip

  • "We are preparing the X.Y.Z version of mathcomp-analysis, please do not merge into master until further notice."
  1. Edit the changelogs
  • git checkout -b changelogXYZ
  • Commit message: "changelog for version X.Y.Z"
  1. Update INSTALL.md if necessary (version numbers, dependencies, etc.)

  2. Check the opam file if necessary (tags, authors, description, etc.)

  1. Generate the HTML documentation and PR to the MathComp website
  • update the link to the last version of the doc in README.md
  1. Close the milestone

  2. Draft the release

  3. Just after the release, download the github assets (.zip and .tar.gz files) and add them back manually as assets to the release. (This is to freeze the archives for use with opam, because assets generated by github are not guaranteed to have a stable hash.)

  4. Announce to Zulip:

Publish the opam package

  1. Submit a new opam package to https://github.com/coq/opam-coq-archive
  • details omitted for now.
  • Karl Palmskog: to make opam archive CI go faster, you can put this in the PR message:
    ci-skip: coq-mathcomp-classical.1.3.1
    
    basically, if two packages are added, they are both tested separately, even if they depend on each other, which makes everything take longer. The ci-skip thing can be used for dependencies of other packages, but it must use exactly the added package name
  1. Annouce on Zulip: