mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #774 from thockin/cleanups
Call build-go.sh before bundling a release
This commit is contained in:
commit
dba72f5895
@ -16,11 +16,17 @@
|
|||||||
|
|
||||||
# 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!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Now push this out to the cluster
|
# Now push this out to the cluster
|
||||||
|
@ -17,11 +17,17 @@
|
|||||||
# 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!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Now bring a new cluster up with that release.
|
# Now bring a new cluster up with that release.
|
||||||
|
Loading…
Reference in New Issue
Block a user