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:
parent
1623a2ab09
commit
0c651591ac
@ -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##* }"
|
||||
|
Loading…
Reference in New Issue
Block a user