Add comment property to doc script
Change-Id: I57c9ed0faca9f00e7d0a4b080cdb47b941d9c5ad
This commit is contained in:
parent
97dfe4aedd
commit
dc9caf525d
@ -13,12 +13,14 @@ BRANCH=$GERRIT_REFNAME
|
|||||||
if [ $BRANCH == "master" ]
|
if [ $BRANCH == "master" ]
|
||||||
then
|
then
|
||||||
DOC_RELEASE_PATH="trunk"
|
DOC_RELEASE_PATH="trunk"
|
||||||
|
DOC_COMMENTS_ENABLED=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The stable/diablo branch should get published to /diablo
|
# The stable/diablo branch should get published to /diablo
|
||||||
if [[ $BRANCH =~ ^stable/(.*)$ ]]
|
if [[ $BRANCH =~ ^stable/(.*)$ ]]
|
||||||
then
|
then
|
||||||
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
|
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
|
||||||
|
DOC_COMMENTS_ENABLED=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >$WORKSPACE/gerrit-doc.properties
|
echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >$WORKSPACE/gerrit-doc.properties
|
||||||
|
Loading…
Reference in New Issue
Block a user