-
Notifications
You must be signed in to change notification settings - Fork 43
Release checklist
NOTE: Since the move to jbuilder/Dune, the release checklist has changed. New one below!
Fork and clone https://github.com/ocaml/opam-repository one directory above the Links repository. So for example, if you have Links checked out at /home/simon/links
, you should also have /home/simon/opam-repository
.
The new release pipeline uses topkg
. Everything should be set up such that you can just do the following release pipeline:
From your links
fork:
- Do the Pre-release sanity checking
- Update
CHANGES.md
with the new version. Please follow the existing format exactly. -
topkg tag
, which will extract the version number out ofCHANGES.md
and create a new tag -
topkg distrib
, which will build the archive -
topkg publish distrib
, which will push the release to GitHub -
cd
to../opam-repository
, rungit checkout -b links-release-VERSION
, replacingVERSION
with the version you're releasing, thencd
back tolinks
-
make opam-pkg
, which will create opam packages and copy them to your repository -
cd
to../opam-repository
,git commit
andgit push
- Create a pull request to
opam-repository
on GitHub with your new branch, and hope for the best with the CI - Bump version number in
basicsettings.ml
(REPL header) - Celebrate!
(Please update this with any issues you find. Thanks!)
warning 41: Some packages are mentionned in package scripts of features, but there is no dependency or depopt toward them: "links"
No idea how to fix this; it seems benign anyway, so safe to ignore unless the opam maintainers want it fixed.
For some reason, odoc doesn't like our codebase at the moment. My guess is the outdated preprocessing stuff. In any case, at the moment ensure you're running topkg publish distrib
instead of just topkg publish
.
Ensure that the homepage
field is set to a GitHub URL.
Take a deep breath, have a stiff drink, and prepare for an adventure.