-#!/bin/bash
+#!/bin/bash -l
# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
# Validate inputs
if [ -z "$RELEASE" ]; then
- echo "ERROR: RELEASE variable most be set to a release name. Eg Carbon"
+ echo "ERROR: RELEASE variable must be set to a release name. Eg Carbon"
exit 1
fi
+git config gitreview.username jenkins-releng
+git submodule foreach git review -s
+git review -s
+
# --- Start create new maintenance branch
echo "---> Creating new mainenance branch"
git submodule foreach git fetch origin