Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.24 KB

HACKING.org

File metadata and controls

39 lines (29 loc) · 1.24 KB

Testing on other projects

The tools/test_branch.sh script builds 2 revisions of OCamlformat and run them on the sources of some projects. The list of tested project is (and can be edited) in test-extra/Makefile.

The projects sources are cloned into test-extra/code. Git is used to manage the script’s state:

  • staged changes are the diffs introduced by formatting with the first revision
  • unstaged changes are the diffs introduced by upgrading OCamlformat to the second rev

Release procedure

  • Review the impact of the release on real source code: In test-extra/Makefile, uncomment the extended list of projects to test and run tools/test_branch.sh -a "previous_release". Diffs should be discussed with the maintainers of these projects to gather feedback before continuing the release.
  • In CHANGES.md, change (unreleased) with the current date Commit
  • Tag and push dune-release tag a.b.c git push --tags
  • Create the archive dune-release distrib
  • Publish the release on Github dune-release publish distrib To the prompt Push tag a.b.c to ...?, answer s
  • Release on Opam-repository dune-release opam pkg dune-release opam submit
  • Each release should be announced on https://discuss.ocaml.org/