diff --git a/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh b/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh index 8adc942df0..327be9692b 100755 --- a/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh +++ b/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh @@ -31,6 +31,10 @@ SERIES=$2 REPO=$3 TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +# We only want the series name, make sure if a branch name is passed in that we +# strip out the part we don't want +OLDSERIES=${OLDSERIES/stable\//} + cd $REPO commit_msg="Add Python3 ${SERIES} unit tests