[cli-ref] Support DeprecationWarning for version number
Bash variable expansion "${version##* }" doesn't match the char ")" as "*". This patch add the process for "DeprecationWarning)" message. Change-Id: If8e7dd047ea5e12487dc90f5a0fb7aeb4292ae13 Closes-Bug: #1565574
This commit is contained in:
parent
28dae6445b
commit
c6d39996ac
|
@ -94,4 +94,5 @@ git branch --list $branch && git branch -D $branch
|
|||
git checkout -b $branch
|
||||
mv ../output/${project}.rst "doc/cli-reference/source"
|
||||
version=$($project --version 2>&1)
|
||||
version=${version##*\)}
|
||||
git commit -a -m "[cli-ref] Update python-${project}client to ${version##* }"
|
||||
|
|
Loading…
Reference in New Issue