Merge "Extract only series name in release job template"

This commit is contained in:
Zuul 2020-04-09 14:24:46 +00:00 committed by Gerrit Code Review
commit 3706b5770d
1 changed files with 4 additions and 0 deletions

View File

@ -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