Merge "Fix kilo publishing"

This commit is contained in:
Jenkins 2015-05-16 21:20:22 +00:00 committed by Gerrit Code Review
commit 266f14a562
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@ function copy_to_branch {
if [ -e publish-docs/draft ] ; then
# Copy files over
cp -a publish-docs/draft publish-docs/$BRANCH
mkdir -p publish-docs/$BRANCH
cp -a publish-docs/draft/* publish-docs/$BRANCH/
# We don't need this file
rm -f publish-docs/$BRANCH/draft-index.html
for f in $(find publish-docs/$BRANCH -name "atom.xml"); do
sed -i -e "s|/draft/|/$BRANCH/|g" $f