Browse Source

[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
changes/74/306674/1
KATO Tomoyuki 5 years ago
parent
commit
c6d39996ac
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bin/doc-tools-update-cli-reference

+ 1
- 0
bin/doc-tools-update-cli-reference 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##* }"

Loading…
Cancel
Save