From b664a88fceeaa5fcc2ed79507d5b8eb19a62b7b3 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Mon, 14 May 2018 10:19:29 -0400 Subject: [PATCH] update vagrantfile to use go defined in `.go-version` (#7073) Update the powershell and unix provision scripts to use the go defined in `.go-version`. --- Vagrantfile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 7e5495d10582..3e0f2b2c731a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -26,6 +26,8 @@ # - Folder syncing doesn't work well. Consider copying the files into the box or # cloning the project inside the box. +GO_VERSION = File.read(File.join(File.dirname(__FILE__), ".go-version")).strip + # Provisioning for Windows PowerShell $winPsProvision = <