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" ]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user