Skip to content

Commit

Permalink
packit: generate tarball by tito, read Version from spec
Browse files Browse the repository at this point in the history
Complements: #483
Relates: #480
  • Loading branch information
praiskup committed Jan 12, 2024
1 parent a096b21 commit c0f5267
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
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:
- &copr
job: copr_build
Expand Down

0 comments on commit c0f5267

Please sign in to comment.