Skip to content

Commit

Permalink
Push devel builds to the devel repository
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Diblik <[email protected]>
  • Loading branch information
danmyway committed Mar 19, 2024
1 parent 6033b50 commit c18ee19
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c18ee19

Please sign in to comment.