From 95913076c60f50f3204165ff827dc31307c3e917 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 13 Apr 2023 15:38:01 +0200 Subject: [PATCH] packit: try to give packit the right version number --- packit.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packit.yaml b/packit.yaml index 4803a8e..3a79b66 100644 --- a/packit.yaml +++ b/packit.yaml @@ -4,6 +4,8 @@ srpm_build_deps: actions: pre-sync: - tito build -o . --tgz + get-current-version: + - git describe --tags --abbrev=0 --match='subscription-manager-*' | sed -e 's,subscription-manager-,,g;s,-[0-9]\+$,,g' specfile_path: subscription-manager.spec upstream_tag_template: "subscription-manager-{version}" jobs: