packit: try to give packit the right version number

This commit is contained in:
Pino Toscano 2023-04-13 15:38:01 +02:00
parent 56e51ff133
commit 95913076c6

View File

@ -4,6 +4,8 @@ srpm_build_deps:
actions: actions:
pre-sync: pre-sync:
- tito build -o . --tgz - 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 specfile_path: subscription-manager.spec
upstream_tag_template: "subscription-manager-{version}" upstream_tag_template: "subscription-manager-{version}"
jobs: jobs: