From 20ef32bda78911a9d9d7f08264964f73d1fceeaa Mon Sep 17 00:00:00 2001 From: mulhern Date: Thu, 26 Oct 2023 10:42:48 -0400 Subject: [PATCH] Do not specify the version to create_archive.py Instead, allow create_archive.py to read the version from the package. Signed-off-by: mulhern --- .packit.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 64a5d7de289..1a185e68c7d 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -14,12 +14,12 @@ actions: - "mv ../distro/mockbuild_test/stratisd.spec ../distro/stratisd.spec" create-archive: - "cargo install cargo-vendor-filterer" - - "sh -c 'python3 ../distro/release_management/create_artifacts.py ../distro/ --pre-release --specfile-path=../distro/stratisd.spec stratisd $(rpmspec -q --srpm --qf %{Version} ../distro/stratisd.spec) --vendor-method=filtered'" + - "cargo install cargo-version-util" + - "sh -c 'python3 ../distro/release_management/create_artifacts.py ../distro/ --pre-release --specfile-path=../distro/stratisd.spec stratisd --vendor-method=filtered'" fix-spec-file: - "echo 'skipping automatic fix-spec-file actions'" get-current-version: - # TODO: Figure out a way to get this info via cargo - - "rpmspec -q --srpm --qf %{Version}\n ../distro/stratisd.spec" + - "cargo version-util get-version" srpm_build_deps: - git