Skip to content

Commit

Permalink
packit: use tito to generate "python-copr-common" versions
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Aug 23, 2023
1 parent 7712cb4 commit ce0431a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ packages:
specfile_path: python-copr-common.spec
files_to_sync:
- python-copr-common.spec
actions:
create-archive:
- bash -c "tito build --tgz --test -o ."
- bash -c "ls -1t ./*.tar.gz | head -n 1"
get-current-version:
- bash -c "git describe --match python-copr-common-[0-9]* --abbrev=0 HEAD | egrep -o
[0-9]+\.[0-9]+"
upstream_tag_template: python-copr-common-{version}
upstream_tag_include: "^python-copr-common-.*"

Expand Down

0 comments on commit ce0431a

Please sign in to comment.