ocaml-containers/HOWTO.adoc
Simon Cruanes 9c76572e83 docs
2016-06-14 14:23:09 +02:00

31 lines
939 B
Text

= HOWTO
== Make a release
Beforehand, check `grep deprecated -r src` to see whether some functions
can be removed.
1. `make test`
2. update version in `_oasis`
3. `make update_next_tag` (to update `@since` comments; be careful not to change symlinks)
4. check status of modules (`{b status: foo}`) and update if required;
removed deprecated functions, etc.
5. update `CHANGELOG.md` (see its end to find the right git command)
6. commit the changes
7. `git checkout stable`
8. `git merge master`
9. `oasis setup; make test doc`
10. tag, and push both to github
11. `opam pin add containers https://github.com/c-cube/ocaml-containers.git#<release>`
12. new opam package: `opam publish prepare; opam publish submit`
13. 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