mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Call build-go.sh before bundling a release
Now the dev-build-and-* scripts actually work.
This commit is contained in:
parent
38c4cdff99
commit
812d651b1b
@ -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