mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
32 lines
984 B
Text
32 lines
984 B
Text
= HOWTO
|
|
|
|
== Make a release
|
|
|
|
Beforehand, check `grep deprecated -r src` to see whether some functions
|
|
can be removed.
|
|
|
|
. `make test`
|
|
. update version in `_oasis`
|
|
. `make update_next_tag` (to update `@since` comments; be careful not to change symlinks)
|
|
. check status of modules (`{b status: foo}`) and update if required;
|
|
removed deprecated functions, etc.
|
|
. update `CHANGELOG.adoc` (see its end to find the right git command)
|
|
. commit the changes
|
|
. `git checkout stable`
|
|
. `git merge master`
|
|
. `oasis setup; make test doc`
|
|
. update `opam` (the version field; remove `oasis` in deps)
|
|
. tag, and push both to github
|
|
. `opam pin add containers https://github.com/c-cube/ocaml-containers.git#<release>`
|
|
. new opam package: `opam publish prepare; opam publish submit`
|
|
. re-generate doc: `make doc push_doc`
|
|
|
|
== List Authors
|
|
|
|
`git log --format='%aN' | sort -u`
|
|
|
|
== Subtree
|
|
|
|
If gen is https://github.com/c-cube/gen.git[this remote]:
|
|
|
|
git subtree pull --prefix gen gen master --squash
|