mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
b99a26e136
Just making them consistent with the rest of the doc.
2.6 KiB
2.6 KiB
title | category | layout | SPDX-License-Identifier |
---|---|---|---|
Steps to a Successful Release | Contributing | default | LGPL-2.1-or-later |
Steps to a Successful Release
- Add all items to NEWS
- Update the contributors list in NEWS (
ninja -C build git-contrib
) - Update the time and place in NEWS
- Update hwdb (
ninja -C build update-hwdb
,ninja -C build update-hwdb-autosuspend
, commit separately). - Update syscall numbers (
ninja -C build update-syscall-tables update-syscall-header
). - [RC1] Update library numbers in
meson.build
- Update version number in
meson.version
(e.g. fromv256~devel
tov256~rc1
or fromv256~rc3
tov256
) - Check dbus docs with
ninja -C build update-dbus-docs
- Update translation strings (
ninja -C build systemd-pot
,ninja -C build systemd-update-po
) - drop the header comments fromsystemd.pot
+ re-add SPDX before committing. If the only change in a file is the 'POT-Creation-Date' field, then ignore that file. - 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, and we wantv255~rc1
to sort lower thanv255
. - Do
ninja -C build
- Make sure that the version string and package string match:
build/systemctl --version
- [FINAL] Close the github milestone and open a new one (https://github.com/systemd/systemd/milestones)
- "Draft" a new release on github (https://github.com/systemd/systemd/releases/new), mark "This is a pre-release" if appropriate.
- Check that announcement to systemd-devel, with a copy&paste from NEWS, was sent. This should happen automatically.
- Update IRC topic (
/msg chanserv TOPIC #systemd Version NNN released | Online resources https://systemd.io/
) - [FINAL] Push commits to stable, create an empty -stable branch:
git push systemd-stable --atomic origin/main:main origin/main:refs/heads/${version}-stable
. - [FINAL] Build and upload the documentation (on the -stable branch):
ninja -C build doc-sync
- [FINAL] Change the default branch to latest release (https://github.com/systemd/systemd-stable/settings/branches).
- [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'
- [FINAL] Update version number in
meson.version
to the devel version of the next release (e.g. fromv256
tov257~devel
)