update import_branch_points.sh to use edit-deliverable

Change-Id: I9795058d0d035e40b1359caee1d7dca7721629a3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-08-01 16:30:01 -04:00
parent 08e0000034
commit 87d5618d51

View File

@ -16,9 +16,12 @@
TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
[[ ! -d .tox/venv ]] && tox -e venv --notest
source .tox/venv/bin/activate
$TOOLSDIR/discover_branch_points.py $@ \
| while read deliverable series version; do
echo $deliverable $series $version
fname=deliverables/$series/${deliverable}.yaml
sed -i '' -e "/^releases:/ ibranches:\n - name: stable/${series}\n location: $version" $fname
edit-deliverable $series $deliverable add-stable-branch $version
done