]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: Switch to meson.version for the current version 36509/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Feb 2025 11:01:53 +0000 (12:01 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Feb 2025 18:30:47 +0000 (19:30 +0100)
.packit.yml

index 697defd3e7248ceb2cafd81bf48fa447ce5fe912..37bf55a0cbcb4e5203f535c4331ed4e899dc95f1 100644 (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