From c5dfc8a4b24c4da0a83e8bd759b361b6d1080955 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Wed, 10 Jun 2015 14:43:59 -0400 Subject: [PATCH] CWL script won't fail when there are no documentation changes to commit. no issue # --- jenkins/run-cwl-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/run-cwl-tests.sh b/jenkins/run-cwl-tests.sh index e65fda1..730261b 100755 --- a/jenkins/run-cwl-tests.sh +++ b/jenkins/run-cwl-tests.sh @@ -200,5 +200,5 @@ fi python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=$PWD/common-workflow-language.github.io cd common-workflow-language.github.io git add --all -git commit -m"Build bot" +git diff-index --quiet HEAD || git commit -m"Build bot" git push -- 2.30.2