Publish draft to Liberty as well
In preparation for release, publish the guides to Liberty. Do this early so that we can test that all of this works fine and the guides are generated fine. Change-Id: I07c5c5321ed0c873b2cb67211af9021660d5bf67
This commit is contained in:
parent
742345cbee
commit
02394538ea
@ -31,6 +31,8 @@ function copy_to_branch {
|
||||
cp -a publish-docs/draft/* publish-docs/$BRANCH/
|
||||
# We don't need this file
|
||||
rm -f publish-docs/$BRANCH/draft-index.html
|
||||
# We don't need Contributor Guide
|
||||
rm -rf publish-docs/$BRANCH/contributor-guide
|
||||
|
||||
for f in $(find publish-docs/$BRANCH -name "atom.xml"); do
|
||||
sed -i -e "s|/draft/|/$BRANCH/|g" $f
|
||||
@ -68,7 +70,7 @@ fi
|
||||
if [ "$PUBLISH" = "publish" ] ; then
|
||||
openstack-doc-test --check-build --publish
|
||||
# For publishing to both /draft and /BRANCH
|
||||
# copy_to_branch kilo
|
||||
copy_to_branch liberty
|
||||
else
|
||||
openstack-doc-test --check-build
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user