2019-01-02 23:16:34 +01:00
---
title: Steps to a Successful Release
2019-12-11 10:49:28 +01:00
category: Contributing
2019-12-11 17:01:46 +01:00
layout: default
2019-01-02 23:16:34 +01:00
---
2018-11-29 11:09:09 +01:00
# Steps to a Successful Release
2016-05-31 19:43:41 +02:00
1. Add all items to NEWS
2019-04-03 10:24:34 +02:00
2. Update the contributors list in NEWS (`ninja -C build git-contrib`)
2016-05-31 19:43:41 +02:00
3. Update the time and place in NEWS
2020-11-26 13:48:35 +01:00
4. [RC1] Update version and library numbers in `meson.build`
2020-08-22 12:28:15 +02:00
5. Check dbus docs with `ninja -C build man/update-dbus-docs`
6. Tag the release: `version=vXXX-rcY && git tag -s "${version}" -m "systemd ${version}"`
7. Do `ninja -C build`
8. Make sure that the version string and package string match: `build/systemctl --version`
9. Upload the documentation: `ninja -C build doc-sync`
2020-11-26 13:48:35 +01:00
10. [FINAL] Close the github milestone and open a new one (https://github.com/systemd/systemd/milestones)
2020-08-22 12:28:15 +02:00
11. "Draft" a new release on github (https://github.com/systemd/systemd/releases/new), mark "This is a pre-release" if appropriate.
12. Check that announcement to systemd-devel, with a copy& paste from NEWS, was sent. This should happen automatically.
13. Update IRC topic (`/msg chanserv TOPIC #systemd Version NNN released`)
2020-11-26 13:48:35 +01:00
14. [FINAL] Push commits to stable, create an empty -stable branch: `git push systemd-stable origin/master:master origin/master:refs/heads/${version}-stable` , and change the default branch to latest release (https://github.com/systemd/systemd-stable/settings/branches).