From 71cb816a745911dba70ee89deca6f1fdcc370d24 Mon Sep 17 00:00:00 2001
From: Samuel Marks <samuelmarks@gmail.com>
Date: Mon, 25 Mar 2019 19:26:48 +1100
Subject: [PATCH] appveyor: bump Windows Go builders to 1.12.1 (#19294)

---
 appveyor.yml           | 4 ++--
 internal/build/util.go | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 515f3d9fb..0eb9163d7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -23,8 +23,8 @@ environment:
 install:
   - git submodule update --init
   - rmdir C:\go /s /q
-  - appveyor DownloadFile https://dl.google.com/go/go1.12.windows-%GETH_ARCH%.zip
-  - 7z x go1.12.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
+  - appveyor DownloadFile https://dl.google.com/go/go1.12.1.windows-%GETH_ARCH%.zip
+  - 7z x go1.12.1.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
   - go version
   - gcc --version
 
diff --git a/internal/build/util.go b/internal/build/util.go
index b34371c2d..319c0f2d3 100644
--- a/internal/build/util.go
+++ b/internal/build/util.go
@@ -143,9 +143,9 @@ func CopyFile(dst, src string, mode os.FileMode) {
 // so that go commands executed by build use the same version of Go as the 'host' that runs
 // build code. e.g.
 //
-//     /usr/lib/go-1.12/bin/go run build/ci.go ...
+//     /usr/lib/go-1.12.1/bin/go run build/ci.go ...
 //
-// runs using go 1.12 and invokes go 1.12 tools from the same GOROOT. This is also important
+// runs using go 1.12.1 and invokes go 1.12.1 tools from the same GOROOT. This is also important
 // because runtime.Version checks on the host should match the tools that are run.
 func GoTool(tool string, args ...string) *exec.Cmd {
 	args = append([]string{tool}, args...)
-- 
GitLab