Remove go version check

Change-Id: I023f3c3ed132940aed21f1e2446c45e7752630b0
This commit is contained in:
Beata Skiba 2019-03-01 15:22:37 +01:00 committed by Jacek Kaniuk
parent a25238eea0
commit 666a4e425b
3 changed files with 0 additions and 27 deletions

View File

@ -1,25 +0,0 @@
#!/bin/bash
# Copyright 2018 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -euo pipefail
GO_VERSION=($(go version))
if ! echo "${GO_VERSION[2]}" | grep -Eq '1.12'; then
echo "Unsupported go version ${GO_VERSION}"
return 1
fi

View File

@ -19,7 +19,6 @@ set -o nounset
set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
${KUBE_ROOT}/hack/check-go-version.sh
go get -u golang.org/x/lint/golint

View File

@ -20,7 +20,6 @@ set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/kube-env.sh"
${KUBE_ROOT}/hack/check-go-version.sh
SILENT=true
EXCLUDE=${EXCLUDE:-} # nothing excluded by default