File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,17 @@ set +e
16
16
17
17
# Get information about PRs among the used revisions.
18
18
# These PRs will have to be notified of build progress.
19
- for repo in buildscripts core masterfiles enterprise nova mission-portal; do
19
+ for repo_spec in cfengine/buildscripts cfengine/core cfengine/masterfiles cfengine/enterprise cfengine/nova cfengine/mission-portal NorthernTechHQ/libntech; do
20
+ # remove organization/ from start of repo_spec
21
+ repo=" ${repo_spec#*/ } "
20
22
rev_param_name=" $( echo $repo | tr ' [:lower:]-' ' [:upper:]_' ) _REV"
21
23
revision=" $( echo ${! rev_param_name} ) " || continue # dereference
22
24
23
25
# remove "origin/" (if any)
24
26
revision=" ${revision## origin/ } "
25
27
if expr " $revision " : " pull/" > /dev/null; then
26
- repo_spec=" cfengine/$repo "
27
28
pr_nr=" $( echo $revision | cut -d/ -f2) "
28
- get-github-pull-request-info " $repo_spec " " $pr_nr " >> $BASEDIR /output/PRs
29
+ get-github-pull-request-info " $repo_spec " " $pr_nr " >> $BASEDIR /output/PRs
29
30
fi
30
31
done
31
32
You can’t perform that action at this time.
0 commit comments