]> git.ipfire.org Git - thirdparty/systemd.git/blame - docs/RELEASE.md
docs: Use v255~rc1 instead of v255-rc1
[thirdparty/systemd.git] / docs / RELEASE.md
CommitLineData
c3e270f4
FB
1---
2title: Steps to a Successful Release
4cdca0af 3category: Contributing
b41a3f66 4layout: default
0aff7b75 5SPDX-License-Identifier: LGPL-2.1-or-later
c3e270f4
FB
6---
7
c1d3483d 8# Steps to a Successful Release
d11343ac
ZJS
9
101. Add all items to NEWS
e8a68817 112. Update the contributors list in NEWS (`ninja -C build git-contrib`)
d11343ac 123. Update the time and place in NEWS
edef9c46 134. Update hwdb (`ninja -C build update-hwdb`, `ninja -C build update-hwdb-autosuspend`, commit separately).
e447f9ac 145. Update syscall numbers (`ninja -C build update-syscall-tables update-syscall-header`).
edef9c46 156. [RC1] Update version and library numbers in `meson.build`
7fafa150 167. Check dbus docs with `ninja -C build update-dbus-docs`
6a21cb2b 178. Update translation strings (`cd build`, `meson compile systemd-pot`, `meson compile systemd-update-po`) - drop the header comments from `systemd.pot` + re-add SPDX before committing. If the only change in a file is the 'POT-Creation-Date' field, then ignore that file.
c0561a05 189. Tag the release: `version=vXXX~rcY && git tag -s "${version}" -m "systemd ${version}"`. Note that this uses a tilde (\~) instead of a hyphen (-) because tildes sort lower in version comparisons according to the [version format specification](https://uapi-group.org/specifications/specs/version_format_specification/), and we want `v255~rc1` to sort lower than `v255`.
7fafa150
LB
1910. Do `ninja -C build`
2011. Make sure that the version string and package string match: `build/systemctl --version`
e8868e83
AK
2112. [FINAL] Close the github milestone and open a new one (https://github.com/systemd/systemd/milestones)
2213. "Draft" a new release on github (https://github.com/systemd/systemd/releases/new), mark "This is a pre-release" if appropriate.
2314. Check that announcement to systemd-devel, with a copy&paste from NEWS, was sent. This should happen automatically.
094d85a6 2415. Update IRC topic (`/msg chanserv TOPIC #systemd Version NNN released | Online resources https://systemd.io/`)
0065f4b1
LB
2516. [FINAL] Push commits to stable, create an empty -stable branch: `git push systemd-stable --atomic origin/main:main origin/main:refs/heads/${version}-stable`.
2617. [FINAL] Build and upload the documentation (on the -stable branch): `ninja -C build doc-sync`
00fc4a39
AK
2718. [FINAL] Change the default branch to latest release (https://github.com/systemd/systemd-stable/settings/branches).
2819. [FINAL] Change the Github Pages branch in the stable repository to the newly created branch (https://github.com/systemd/systemd-stable/settings/pages) and set the 'Custom domain' to 'systemd.io'