From 562f180eecfee9ea6f0f67c10137a759c2de8377 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 27 May 2015 12:24:58 -0400 Subject: $GERRIT_EVENT_TYPE != "change-merged" should cover comments added etc. Change-Id: I47d8872382dcc488c9e1c43e06de00c4fcc213d3 JIRA:DOCS-36 Signed-off-by: Aric Gardner --- jjb/opnfvdocs/docu-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/opnfvdocs/docu-build.sh b/jjb/opnfvdocs/docu-build.sh index ba69087e9..848466e03 100644 --- a/jjb/opnfvdocs/docu-build.sh +++ b/jjb/opnfvdocs/docu-build.sh @@ -8,7 +8,7 @@ export PATH=$PATH:/usr/local/bin/ git_sha1="$(git rev-parse HEAD)" docu_build_date="$(date)" -if [[ $GERRIT_EVENT_TYPE = "patchset-created" ]] ; then +if [[ $GERRIT_EVENT_TYPE != "change-merged" ]] ; then patchset="/$GERRIT_CHANGE_NUMBER" fi -- cgit 1.2.3-korg