···11+# How to release
22+33+These instructions assumes that the version you are making is `21.0.0`.
44+55+## Generate changelog
66+77+Run proclamation in the `doc/changes`.
88+99+```sh
1010+proclamation build 21.0.0 --delete-fragments --overwrite
1111+```
1212+1313+Commit changes, split in two commits to help unrolling or editing changes.
1414+1515+```sh
1616+git commit -m"doc: Update CHANGELOG.md" doc/CHANGELOG.md
1717+git commit -m"doc: Remove old changelog fragments" doc/changes
1818+```
1919+2020+2121+## Update versions
2222+2323+Edit the files
2424+2525+* `CMakelists.txt`
2626+* `meson.build`
2727+* `src/xrt/state_trackers/oxr/oxr_instance.c`
2828+2929+See previous commits for exact places.
3030+3131+```sh
3232+git commit -a -m"monado: Update version"
3333+```
3434+3535+3636+## Tag the code
3737+3838+Do the tagging from git, do **not** do it from gitlab, also make sure to prefix
3939+the version with `v` so that `21.0.0` becomes `v21.0.0`.
4040+4141+```sh
4242+git tag v21.0.0 -m"v21.0.0"
4343+```
4444+4545+4646+## Do gitlab release
4747+4848+The Gitlab UI has a friendly interface, just follow the guide there.