Merge pull request #673 from brendandburns/fix

Bail out and print error, if release.sh fails.
pull/6/head
Daniel Smith 2014-07-28 15:40:24 -07:00
commit 9fc52c8aaa
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@
# First build a release
$(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then
echo "Building a release failed!"
exit 1
fi
# Now push this out to the cluster
$(dirname $0)/../cluster/kube-push.sh

View File

@ -19,6 +19,10 @@
# First build a release
$(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then
echo "Building the release failed!"
exit 1
fi
# Now bring a new cluster up with that release.
$(dirname $0)/../cluster/kube-up.sh