1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-20 18:04:03 +03:00
Daan De Meyer 1922d49fd6 Make vcs-tag do something useful for non-developer mode as well
When building packages of arbitrary commits of systemd-stable,
distributors might want to include a git sha of the exact commit
they're on. Let's extend vcs-tag a little to make this possible.

If we're on a commit matching a tag, don't generate a git sha at all.
If we're not on a commit matching a tag, generate a vcs tag as usually.
However, if we're not in developer mode, don't append a '^' if the tree
is dirty to accomodate package builds applying various patches to the
tree which shouldn't be considered as "dirty" edits.

(cherry picked from commit 944faf65986f36d7ed3a4ba5cb4cc763011f0f77)
2024-07-24 14:26:49 +02:00
..
2023-11-01 14:07:54 +00:00
2024-01-23 16:27:50 +01:00
2023-03-10 11:41:08 +01:00
2023-08-10 18:13:29 +02:00
2023-12-25 10:40:40 +01:00
2023-08-23 14:57:49 +02:00
2023-11-15 15:21:26 +01:00
2023-08-10 18:13:29 +02:00