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: