Skip to content

Commit

Permalink
Merge #36389
Browse files Browse the repository at this point in the history
36389: build: Allow go 1.12 again r=petermattis a=bdarnell

Fears of invalid builds have been resolved, so we no longer need to
prohibit this.

Note that it is difficult to be lint-clean with both 1.11 and 1.12
simultaneously, so we'll have to wait to fix the new lint issues until
we move to 1.12 as the minimum version (post CRDB 19.1)

Updates #35637

Release note: None

Co-authored-by: Ben Darnell <[email protected]>
  • Loading branch information
craig[bot] and bdarnell committed Apr 1, 2019
2 parents a6147b7 + 053aa1b commit 4421c14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build/go-version-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ if (( version_major != required_version_major )) || (( version_minor < minimum_v
echo "go$required_version_major.$minimum_version_minor+ required (detected go$version)" >&2
exit 1
fi

# Pending resolution of #35637
if [ $version_minor -ge 12 ]; then
echo "go 1.12+ is known to produce invalid crdb builds, see https://github.com/cockroachdb/cockroach/issues/35637" >&2
exit 1
fi

0 comments on commit 4421c14

Please sign in to comment.