Use tilde for rc tag versioning
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Feb 2024 13:00:50 +0000 (14:00 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Feb 2024 17:14:36 +0000 (18:14 +0100)
commit6d55e3a3641b35dd2bb4306711b4db4004bf6817
tree48502b20e263f6c67e68c5e9801ea2ad74f64cf7
parentccc5673cc900658808dc0ec269ea383b3b6f5724
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.
docs/RELEASE.md
tools/meson-vcs-tag.sh