Fix generated commit message for python-openstackclient

The output of "openstack --version" is "openstack x.y.z". The expected
output of "$CLIENT --version" is "x.y.z". This patch will remove
"openstack " from the output of "openstack --version" to form a correct
commit message.

Change-Id: Ie2f111c8a6fa85e358d5945828e28281d7e78fe6
This commit is contained in:
Christian Berendt 2015-10-02 08:13:10 +02:00
parent 1623a2ab09
commit 0c651591ac
1 changed files with 1 additions and 1 deletions

View File

@ -70,4 +70,4 @@ git branch --list $branch && git branch -D $branch
git checkout -b $branch
mv ../output/ch_cli_${project}_commands.xml doc/cli-reference/generated
version=$($project --version 2>&1)
git commit -a -m "Update CLI reference for python-${project}client $version"
git commit -a -m "Update CLI reference for python-${project}client ${version##* }"