[release] Adopts tools/publishdocs.sh for Mitaka

Change-Id: I4b3f74f4040506057e13fbcfc2929a00d540ceea
This commit is contained in:
OlgaGusarenko 2016-03-23 13:34:48 +02:00 committed by Olga Gusarenko
parent b25300536d
commit e24eba275c

View File

@ -40,7 +40,7 @@ function copy_to_branch {
for f in $(find publish-docs/$BRANCH -name "*.html"); do for f in $(find publish-docs/$BRANCH -name "*.html"); do
sed -i -e "s|/draft/|/$BRANCH/|g" $f sed -i -e "s|/draft/|/$BRANCH/|g" $f
done done
# Debian Install Guide for Liberty is not ready # Debian Install Guide for Mitaka is not ready
rm -rf publish-docs/$BRANCH/install-guide-debian rm -rf publish-docs/$BRANCH/install-guide-debian
fi fi
} }
@ -72,7 +72,7 @@ fi
if [ "$PUBLISH" = "publish" ] ; then if [ "$PUBLISH" = "publish" ] ; then
openstack-doc-test --check-build --publish openstack-doc-test --check-build --publish
# For publishing to both /draft and /BRANCH # For publishing to both /draft and /BRANCH
#copy_to_branch mitaka copy_to_branch mitaka
else else
openstack-doc-test --check-build openstack-doc-test --check-build
fi fi