hack: allow devel builds of go

pull/6/head
George Tankersley 2016-04-21 23:25:32 -07:00
parent a0cc59f28a
commit 8b507d8cdc
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ EOF
if [[ "${TRAVIS:-}" != "true" ]]; then
local go_version
go_version=($(go version))
if [[ "${go_version[2]}" < "go1.6" ]]; then
if [[ "${go_version[2]}" < "go1.6" && "${go_version[2]}" != "devel" ]]; then
kube::log::usage_from_stdin <<EOF
Detected go version: ${go_version[*]}.
Kubernetes requires go version 1.6 or greater.