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:
parent
ebee7e0d7c
commit
6c31e351b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user