From fcd3852ed93c62207d0aac6fab5f76ef7b3056b8 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Sep 05 2023 07:35:35 +0000 Subject: add packit pull from upstream workflow Signed-off-by: Tomas Tomecek --- diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..d752a6a --- /dev/null +++ b/.packit.yaml @@ -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 +