CWL script won't fail when there are no documentation changes to commit. no issue #
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 10 Jun 2015 18:43:59 +0000 (14:43 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 10 Jun 2015 18:43:59 +0000 (14:43 -0400)
jenkins/run-cwl-tests.sh

index e65fda138180d84d92d4f3e3cd7766a91a960d21..730261b575d41d94cf14f37439bbbc8afe4e7fae 100755 (executable)
@@ -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