diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-02-14 11:04:36 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-02-14 15:36:34 +0100 |
commit | ea2a57bee3506c8a724034c3ba0de2c87b47173b (patch) | |
tree | 347b206885a81679b6d0916538b7c8c0249ebca1 /src/cryptsetup/cryptsetup-tokens/cryptsetup-token.sym | |
parent | docs: Use v255~rc1 instead of v255-rc1 (diff) | |
download | systemd-ea2a57bee3506c8a724034c3ba0de2c87b47173b.tar.xz systemd-ea2a57bee3506c8a724034c3ba0de2c87b47173b.zip |
meson: Start adding devel and rc suffixes to the project version
Let's make sure that versions generated by meson-vcs-tag.sh always
sort higher than official and stable releases. We achieve this by
immediately updating the meson version in meson.build after a new
release. To make sure this version always sorts lower than future
rcs, we suffix it with "~devel" which will sort lower than "~rcX".
The new release workflow is to update the version in meson.build
for each rc and the official release and to also update the version
number after a new release to the next development version.
The full version is exposed as PROJECT_VERSION_FULL and used where
it makes sense over PROJECT_VERSION.
We also switch to reading the version from a meson.version file in
the repo instead of hardcoding it in meson.build. This makes it
easier to access both inside and outside of the project.
The meson-vcs-tag.sh script is rewritten to query the version from
meson.version instead of passing it in via the command line. This
makes it easier to use outside of systemd since users don't have to
query the version themselves first.
Diffstat (limited to 'src/cryptsetup/cryptsetup-tokens/cryptsetup-token.sym')
0 files changed, 0 insertions, 0 deletions