diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-02-13 14:00:50 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-02-13 18:14:36 +0100 |
commit | 6d55e3a3641b35dd2bb4306711b4db4004bf6817 (patch) | |
tree | 48502b20e263f6c67e68c5e9801ea2ad74f64cf7 /docs/RELEASE.md | |
parent | po: Translated using Weblate (Korean) (diff) | |
download | systemd-6d55e3a3641b35dd2bb4306711b4db4004bf6817.tar.xz systemd-6d55e3a3641b35dd2bb4306711b4db4004bf6817.zip |
Use tilde for rc tag versioning
tilde sorts lower in the version comparison spec:
https://uapi-group.org/specifications/specs/version_format_specification/
➜ systemd git:(strip) systemd-analyze compare-versions 249\~rc1 249
249\~rc1 < 249
➜ systemd git:(strip) systemd-analyze compare-versions 249-rc1 249
249-rc1 > 249
Also update tools/meson-vcs-tag.sh to use carets instead of hyphens
for the git part of the version as carets are allowed to be part of
a version by pacman while hyphens are not and both sort higher than
a version without the git part.
Diffstat (limited to 'docs/RELEASE.md')
-rw-r--r-- | docs/RELEASE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/RELEASE.md b/docs/RELEASE.md index d98fe0a2f9..4ba29a87a9 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -15,7 +15,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later 6. [RC1] Update version and library numbers in `meson.build` 7. Check dbus docs with `ninja -C build update-dbus-docs` 8. 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. -9. Tag the release: `version=vXXX-rcY && git tag -s "${version}" -m "systemd ${version}"` +9. 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`. 10. Do `ninja -C build` 11. Make sure that the version string and package string match: `build/systemctl --version` 12. [FINAL] Close the github milestone and open a new one (https://github.com/systemd/systemd/milestones) |