mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
packit: generate tarball by tito, read Version from spec
Complements: #483 Relates: #480
This commit is contained in:
parent
a096b21484
commit
9d1c10f52f
1 changed files with 11 additions and 0 deletions
11
.packit.yml
11
.packit.yml
|
@ -1,4 +1,15 @@
|
||||||
---
|
---
|
||||||
|
srpm_build_deps:
|
||||||
|
- tito
|
||||||
|
- git
|
||||||
|
|
||||||
|
actions:
|
||||||
|
create-archive:
|
||||||
|
- bash -c "tito build --tgz --test -o ."
|
||||||
|
- bash -c "ls -1t ./*.tar.gz | head -n 1"
|
||||||
|
get-current-version:
|
||||||
|
- bash -c "grep ^Version tito.spec | awk '{ print $2 }'"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- &copr
|
- &copr
|
||||||
job: copr_build
|
job: copr_build
|
||||||
|
|
Loading…
Add table
Reference in a new issue