packit: try a different way to get upstream version
This commit is contained in:
parent
95913076c6
commit
22b53921dc
@ -1,11 +1,11 @@
|
|||||||
upstream_project_url: https://github.com/candlepin/subscription-manager
|
upstream_project_url: https://github.com/candlepin/subscription-manager
|
||||||
srpm_build_deps:
|
srpm_build_deps:
|
||||||
|
- python3
|
||||||
- tito
|
- tito
|
||||||
actions:
|
actions:
|
||||||
pre-sync:
|
pre-sync:
|
||||||
- tito build -o . --tgz
|
- tito build -o . --tgz
|
||||||
get-current-version:
|
get-current-version: python3 setup.py --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:
|
||||||
|
Loading…
Reference in New Issue
Block a user