Cleanup staging repo credentials from .netrc
[releng/builder.git] / jjb / autorelease / branch-cut.sh
index 3ae2d2a58c90c39639f7d963f2673eca676063de..6d74e78cf3b683e29244b9769e9cecae9d5fa7b7 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.
@@ -34,6 +34,10 @@ if [ -z "$RELEASE" ]; then
     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