Skip to content

Commit 54d0fe9

Browse files
Merge pull request #1667 from craigcomstock/ENT-12714-2/master
Adjusted bootstrap-tarballs script to include libntech in list of repos where statuses are updated in pull requests
2 parents 470bc60 + 9b53c63 commit 54d0fe9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build-scripts/bootstrap-tarballs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ set +e
1616

1717
# Get information about PRs among the used revisions.
1818
# 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#*/}"
2022
rev_param_name="$(echo $repo | tr '[:lower:]-' '[:upper:]_')_REV"
2123
revision="$(echo ${!rev_param_name})" || continue # dereference
2224

2325
# remove "origin/" (if any)
2426
revision="${revision##origin/}"
2527
if expr "$revision" : "pull/" >/dev/null; then
26-
repo_spec="cfengine/$repo"
2728
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
2930
fi
3031
done
3132

0 commit comments

Comments
 (0)