summaryrefslogtreecommitdiff
path: root/hack/make-rules/crossbuild.sh
diff options
context:
space:
mode:
authorfisherxu <xufei40@huawei.com>2022-01-13 19:28:55 +0800
committerfisherxu <xufei40@huawei.com>2022-01-17 18:13:24 +0800
commit97a52cdb3070b9f02a74bc0992c543923af0dda0 (patch)
tree23fecd7d1706d81d7ee80d3fab82ff6d91d72c26 /hack/make-rules/crossbuild.sh
parentMerge pull request #3467 from gy95/release (diff)
downloadkubeedge-97a52cdb3070b9f02a74bc0992c543923af0dda0.tar.gz
verify go version when call build.sh script
Signed-off-by: fisherxu <xufei40@huawei.com>
Diffstat (limited to 'hack/make-rules/crossbuild.sh')
-rwxr-xr-xhack/make-rules/crossbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hack/make-rules/crossbuild.sh b/hack/make-rules/crossbuild.sh
index 06cedde07..9b3dd6a15 100755
--- a/hack/make-rules/crossbuild.sh
+++ b/hack/make-rules/crossbuild.sh
@@ -23,4 +23,5 @@ set -o pipefail
KUBEEDGE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
source "${KUBEEDGE_ROOT}/hack/lib/init.sh"
+kubeedge::golang::verify_golang_version
kubeedge::golang::cross_build_place_binaries "$@"