ocaml-containers/HOWTO.adoc
2016-04-26 15:46:45 +02:00

30 lines
879 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 https://github.com/c-cube/ocaml-containers#<release>`
12. new opam package: `opam publish prepare; opam publish submit`
== 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