From ba2f909878a63ad60fdbe65208f0e886d66ab216 Mon Sep 17 00:00:00 2001 From: Matthew McCullough Date: Thu, 11 Sep 2014 21:47:53 -0600 Subject: [PATCH] Release script tests for build success --- _buildscripts/makerelease | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_buildscripts/makerelease b/_buildscripts/makerelease index 4f92afe69..6fa70d3f4 100755 --- a/_buildscripts/makerelease +++ b/_buildscripts/makerelease @@ -1,6 +1,9 @@ #!/bin/sh -_buildscripts/vibuild +if ! _buildscripts/cibuild; then + printf '%s\n' 'Build failed' >&2 + exit 1 +fi # Clean out the articles directory rm -rf _site/articles