mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
(Re)generate the build version when preparing a release.
If hack/build-go.sh has never been run before release/build-release.sh the subsequent build will fail. Also, when preparing builds the version should be forced to be up to date with the current checkout.
This commit is contained in:
parent
c71866164f
commit
e3fd1672ac
@ -27,7 +27,11 @@ INSTANCE_PREFIX=$1
|
||||
|
||||
KUBE_DIR=$SCRIPT_DIR/..
|
||||
|
||||
# First build the release tar. This gets copied on to the master and installed
|
||||
# First ensure the version pkg is complete and is up to date
|
||||
HACK_DIR=$KUBE_DIR/hack
|
||||
$HACK_DIR/version-gen.sh
|
||||
|
||||
# Next build the release tar. This gets copied on to the master and installed
|
||||
# from there. It includes the go source for the necessary servers along with
|
||||
# the salt configs.
|
||||
rm -rf $KUBE_DIR/output/release/*
|
||||
|
Loading…
Reference in New Issue
Block a user