Add comment property to doc script

Change-Id: I57c9ed0faca9f00e7d0a4b080cdb47b941d9c5ad
This commit is contained in:
James E. Blair 2012-04-04 14:48:54 -07:00
parent 97dfe4aedd
commit dc9caf525d

View File

@ -13,12 +13,14 @@ BRANCH=$GERRIT_REFNAME
if [ $BRANCH == "master" ]
then
DOC_RELEASE_PATH="trunk"
DOC_COMMENTS_ENABLED=0
fi
# The stable/diablo branch should get published to /diablo
if [[ $BRANCH =~ ^stable/(.*)$ ]]
then
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
DOC_COMMENTS_ENABLED=1
fi
echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >$WORKSPACE/gerrit-doc.properties