Skip to content

Commit

Permalink
ensure push-node.sh builds from clean
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed May 18, 2021
1 parent ef48a2a commit 87161e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/release/build/push-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ ARCHES="${ARCHES:-amd64 arm64}"
IFS=" " read -r -a __arches__ <<< "$ARCHES"

set -x
# ensure clean build
(cd "${KUBEROOT}" && make clean)
# get kubernetes version
version_line="$(cd "${KUBEROOT}"; ./hack/print-workspace-status.sh | grep 'gitVersion')"
kube_version="${version_line#"gitVersion "}"
Expand Down

0 comments on commit 87161e6

Please sign in to comment.