packit: Switch to meson.version for the current version (#36509)
This commit is contained in:
+1
-5
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@ Distribution=|fedora
|
||||
Environment=
|
||||
GIT_URL=https://src.fedoraproject.org/rpms/systemd.git
|
||||
GIT_BRANCH=rawhide
|
||||
GIT_COMMIT=6c7c4a510d8337f6d5e3e5ad08ee56ecb69335bd
|
||||
GIT_COMMIT=9b6884d2e1c1664cf07ef90e28ab072eda61431f
|
||||
PKG_SUBDIR=fedora
|
||||
|
||||
[Content]
|
||||
|
||||
Reference in New Issue
Block a user