Call build-go.sh before bundling a release

Now the dev-build-and-* scripts actually work.
pull/6/head
Tim Hockin 2014-08-04 13:56:36 -07:00
parent 38c4cdff99
commit 812d651b1b
2 changed files with 18 additions and 6 deletions

View File

@ -16,11 +16,17 @@
# This script will build a dev release and push it to an existing cluster.
# First build a release
# First build the binaries
$(dirname $0)/build-go.sh
if [ "$?" != "0" ]; then
exit 1
fi
# Then build a release
$(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then
echo "Building a release failed!"
exit 1
echo "Building a release failed!"
exit 1
fi
# Now push this out to the cluster

View File

@ -17,11 +17,17 @@
# This script will build a dev release and bring up a new cluster with that
# release.
# First build a release
# First build the binaries
$(dirname $0)/build-go.sh
if [ "$?" != "0" ]; then
exit 1
fi
# Then build a release
$(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then
echo "Building the release failed!"
exit 1
echo "Building the release failed!"
exit 1
fi
# Now bring a new cluster up with that release.