look at teams in the branch being scanned

Teams come and go, so we want to iterate over the set of teams in the
branch that we are scanning for unreleased changes instead of assuming
the group from ocata is correct.

Change-Id: Iacf3933cbfc14f9a3e7b404171247108c27083f3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2019-03-14 08:43:57 -04:00
parent e577664cdd
commit 3f24d9dd78

@ -25,7 +25,7 @@ BRANCH=${1}
RESULT_DIR="$BRANCH-$(date '+%Y%m%d-%H%M')"
mkdir -p $RESULT_DIR
OPENSTACK_TEAMS=$(grep team deliverables/ocata/*.yaml | cut -f3 -d: | sort -u)
OPENSTACK_TEAMS=$(grep team deliverables/${BRANCH}/*.yaml | cut -f3 -d: | sort -u)
TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BASEDIR=$(dirname $TOOLSDIR)