Call build-go.sh before bundling a release

Now the dev-build-and-* scripts actually work.
This commit is contained in:
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,7 +16,13 @@
# This script will build a dev release and push it to an existing cluster. # 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 $(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "Building a release failed!" echo "Building a release failed!"

View File

@ -17,7 +17,13 @@
# This script will build a dev release and bring up a new cluster with that # This script will build a dev release and bring up a new cluster with that
# release. # 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 $(dirname $0)/../release/release.sh
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "Building the release failed!" echo "Building the release failed!"