2021-03-01 19:41:45 +00:00
|
|
|
# How to make a release {#how-to-release}
|
2021-01-28 16:02:28 +00:00
|
|
|
|
2021-02-11 15:43:08 +00:00
|
|
|
<!--
|
|
|
|
Copyright 2021, Collabora, Ltd. and the Monado contributors
|
|
|
|
SPDX-License-Identifier: BSL-1.0
|
|
|
|
-->
|
|
|
|
|
2021-01-28 16:02:28 +00:00
|
|
|
These instructions assumes that the version you are making is `21.0.0`.
|
|
|
|
|
|
|
|
## Generate changelog
|
|
|
|
|
|
|
|
Run proclamation in the `doc/changes`.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
proclamation build 21.0.0 --delete-fragments --overwrite
|
|
|
|
```
|
|
|
|
|
|
|
|
Commit changes, split in two commits to help unrolling or editing changes.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git commit -m"doc: Update CHANGELOG.md" doc/CHANGELOG.md
|
|
|
|
git commit -m"doc: Remove old changelog fragments" doc/changes
|
|
|
|
```
|
|
|
|
|
|
|
|
## Update versions
|
|
|
|
|
|
|
|
Edit the files
|
|
|
|
|
|
|
|
* `CMakelists.txt`
|
|
|
|
* `src/xrt/state_trackers/oxr/oxr_instance.c`
|
|
|
|
|
|
|
|
See previous commits for exact places.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git commit -a -m"monado: Update version"
|
|
|
|
```
|
|
|
|
|
|
|
|
## Tag the code
|
|
|
|
|
|
|
|
Do the tagging from git, do **not** do it from gitlab, also make sure to prefix
|
|
|
|
the version with `v` so that `21.0.0` becomes `v21.0.0`.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git tag v21.0.0 -m"v21.0.0"
|
|
|
|
```
|
|
|
|
|
|
|
|
## Do gitlab release
|
|
|
|
|
2022-05-17 20:30:05 +00:00
|
|
|
The Gitlab UI has a friendly interface, follow the guide there.
|