From c18ee19deea25c89303d7a84e1a4265741ef0cbe Mon Sep 17 00:00:00 2001 From: Daniel Diblik Date: Tue, 19 Mar 2024 09:32:37 +0100 Subject: [PATCH] Push devel builds to the devel repository Signed-off-by: Daniel Diblik --- .packit.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 0fb8bde..adb6f6f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -14,13 +14,33 @@ upstream_package_name: tesar downstream_package_name: tesar jobs: + # Build for pull request push - job: copr_build owner: danmyway - project: tesar + project: tesar-devel trigger: pull_request targets: - fedora-stable actions: # Get the version from the spec file get-current-version: - - grep -oP '^Version:\s+\K\S+' tesar.spec + - echo devel + # Build for merge to devel + - job: copr_build + owner: danmyway + project: tesar-devel + trigger: commit + branch: devel + targets: + - fedora-stable + actions: + # Get the version from the spec file + get-current-version: + - echo devel + # Build for release tagged on main + - job: copr_build + owner: danmyway + project: tesar + trigger: release + targets: + - fedora-stable