Extract only series name in release job template

Change-Id: I4f2aeeef533b3b92fb6b8e87a400f5dbe069e9d7
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-09 07:30:07 -05:00
parent ebee7e0d7c
commit 6c31e351b1
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

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