[cli-ref] add rmdir to cleanup working directory
Change-Id: I40deb83f849782cb9f68d695c14643c4fa89aca6
This commit is contained in:
parent
ddad5f86b5
commit
69746f4982
|
@ -89,6 +89,7 @@ branch=cli-reference
|
||||||
git branch --list $branch && git branch -D $branch
|
git branch --list $branch && git branch -D $branch
|
||||||
git checkout -b $branch
|
git checkout -b $branch
|
||||||
mv ../output/${project}.rst "doc/cli-reference/source"
|
mv ../output/${project}.rst "doc/cli-reference/source"
|
||||||
|
rm -rf ../output
|
||||||
version=$($project --version 2>&1)
|
version=$($project --version 2>&1)
|
||||||
version=${version##*\)}
|
version=${version##*\)}
|
||||||
git commit -a -m "[cli-ref] Update python-${project}client to ${version##* }"
|
git commit -a -m "[cli-ref] Update python-${project}client to ${version##* }"
|
||||||
|
|
Loading…
Reference in New Issue