add packit pull from upstream workflow

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
Tomas Tomecek 2023-09-05 09:35:35 +02:00
parent 03650c59f7
commit fcd3852ed9

18
.packit.yaml Normal file
View File

@ -0,0 +1,18 @@
---
specfile_path: python-urwid.spec
downstream_package_name: python-urwid
upstream_project_url: https://github.com/urwid/urwid
actions:
create-archive:
- "python3 setup.py sdist --dist-dir ."
- "ls -1 ./*.tar.gz"
get-current-version: "python3 setup.py --version"
changelog-entry: bash -c "echo New upstream release ${PACKIT_PROJECT_VERSION}"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide