[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:
KATO Tomoyuki 2016-04-16 10:34:48 +09:00
parent 28dae6445b
commit c6d39996ac
1 changed files with 1 additions and 0 deletions

View File

@ -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##* }"