1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-06 00:58:29 +03:00

packit: Switch to meson.version for the current version

This commit is contained in:
Daan De Meyer 2025-02-25 12:01:53 +01:00
parent 89a5ea6583
commit 6a55862516

View File

@ -14,11 +14,7 @@ srpm_build_deps: []
actions:
get-current-version:
# Show the closest matching tag for the checked out revision, otherwise
# Packit tries to get the latest tag by creation date, which doesn't work
# well in the systemd-stable repo. We also need to sanitize it manually
# since "upstream_tag_template" defined above doesn't apply here.
- "bash -ec 'git describe --tags --abbrev=0 | cut -b 2-'"
- cat meson.version
post-upstream-clone:
# Use the Fedora Rawhide specfile