diff --git a/bin/doc-tools-update-cli-reference b/bin/doc-tools-update-cli-reference index a8707093..192b4841 100755 --- a/bin/doc-tools-update-cli-reference +++ b/bin/doc-tools-update-cli-reference @@ -89,6 +89,7 @@ branch=cli-reference git branch --list $branch && git branch -D $branch git checkout -b $branch mv ../output/${project}.rst "doc/cli-reference/source" +rm -rf ../output version=$($project --version 2>&1) version=${version##*\)} git commit -a -m "[cli-ref] Update python-${project}client to ${version##* }"