summaryrefslogtreecommitdiffstats
path: root/docs/RELEASE.md
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-19 14:00:04 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-07-19 16:33:36 +0200
commit518ea76ecdf4855a2db2c0d31ee45f4db48e3242 (patch)
treef67be4755cea5775d10eeb7e1244181ac5db6bfb /docs/RELEASE.md
parentMerge pull request #33707 from poettering/terminal-size-by-ansi-seq (diff)
downloadsystemd-518ea76ecdf4855a2db2c0d31ee45f4db48e3242.tar.xz
systemd-518ea76ecdf4855a2db2c0d31ee45f4db48e3242.zip
docs: Document how to do stable releases
Diffstat (limited to 'docs/RELEASE.md')
-rw-r--r--docs/RELEASE.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/RELEASE.md b/docs/RELEASE.md
index 0d8c0b95fa..cbd43dca18 100644
--- a/docs/RELEASE.md
+++ b/docs/RELEASE.md
@@ -27,3 +27,9 @@ SPDX-License-Identifier: LGPL-2.1-or-later
18. [FINAL] Build and upload the documentation (on the -stable branch): `ninja -C build doc-sync`
20. [FINAL] Change the Github Pages branch to the newly created branch (https://github.com/systemd/systemd/settings/pages) and set the 'Custom domain' to 'systemd.io'
21. [FINAL] Update version number in `meson.version` to the devel version of the next release (e.g. from `v256` to `v257~devel`)
+
+# Steps to a Successful Stable Release
+
+1. Backport at least the commits from all PRs tagged with `needs-stable-backport` on Github with `git cherry-pick -x`. Any other commits that fix bugs, change documentation, tests, CI or mkosi can generally be backported as well. Since 256 the stable branches live [here](https://github.com/systemd/systemd/). Stable branches for older releases are available [here](https://github.com/systemd/systemd-stable/). Check each commit to see if it makes sense to backport and check the comments on the PR to see if the author indicated that only specific commits should be backported.
+2. Update the version number in `meson.version` (e.g. from `256.2` to `256.3`) (only for 256-stable or newer)
+3. Tag the release: `version="v$(cat meson.version)" && git tag -s "${version}" -m "systemd-stable ${version}"` (Fill in the version manually on releases older than 256)