File tree Expand file tree Collapse file tree 6 files changed +762
-54
lines changed
Expand file tree Collapse file tree 6 files changed +762
-54
lines changed Original file line number Diff line number Diff line change @@ -3,31 +3,42 @@ upstream_package_name: rhc-bash-worker
33downstream_package_name : rhc-bash-worker
44upstream_project_url : https://github.com/oamg/rhc-bash-worker
55
6- srpm_build_deps : []
6+ srpm_build_deps : [golang, make]
7+
78
89jobs :
910- job : copr_build
10- trigger : pull_request
11+ enable_net : true
1112 owner : " @oamg"
12- project : rhc-bash-worker
13+ project : " rhc-bash-worker"
1314 targets :
14- - epel-7-x86_64
15+ - epel-7-x86_64
16+ trigger : pull_request
1517 actions :
1618 # do not get the version from a tag (git describe) but from the spec file
1719 get-current-version :
18- - grep -oP '^Version:\s+\K\S+' packaging/rhc-bash-worker.spec
20+ - grep -oP '^Version:\s+\K\S+' packaging/rhc-bash-worker.spec
21+ create-archive :
22+ - " make distribution-tarball"
23+ - bash -c "ls -1 ./rhc-bash-worker-*.tar.gz"
24+
1925- job : copr_build
20- trigger : commit
21- branch : main
26+ enable_net : true
2227 owner : " @oamg"
23- project : rhc-bash-worker
28+ project : " rhc-bash-worker"
2429 targets :
25- - epel-7-x86_64
30+ - epel-7-x86_64
31+ trigger : commit
32+ branch : main
2633 actions :
2734 # bump spec so we get release starting with 2 and hence all the default branch builds will
2835 # have higher NVR than all the PR builds
2936 post-upstream-clone :
30- - rpmdev-bumpspec --comment='latest upstream build' ./packaging/rhc-bash-worker.spec
37+ - rpmdev-bumpspec --comment='latest upstream build' ./packaging/rhc-bash-worker.spec
38+
3139 # do not get the version from a tag (git describe) but from the spec file
3240 get-current-version :
33- - grep -oP '^Version:\s+\K\S+' packaging/rhc-bash-worker.spec
41+ - grep -oP '^Version:\s+\K\S+' packaging/rhc-bash-worker.spec
42+ create-archive :
43+ - " make distribution-tarball"
44+ - bash -c "ls -1 ./rhc-bash-worker-*.tar.gz"
Original file line number Diff line number Diff line change 1+ # Contributing
2+
3+ WIP
You can’t perform that action at this time.
0 commit comments