From 911f67dad93209566d329548f1bc9d4b60836e3e Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 2 Dec 2020 17:17:49 -0500 Subject: [PATCH] terraform 0.14.0 use go1.15 remove `mod=vendor` Closes #66095. Signed-off-by: chenrui --- Aliases/{terraform@0.13 => terraform@0.14} | 0 Formula/terraform.rb | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename Aliases/{terraform@0.13 => terraform@0.14} (100%) diff --git a/Aliases/terraform@0.13 b/Aliases/terraform@0.14 similarity index 100% rename from Aliases/terraform@0.13 rename to Aliases/terraform@0.14 diff --git a/Formula/terraform.rb b/Formula/terraform.rb index 7ef204d2c14..0c32608881c 100644 --- a/Formula/terraform.rb +++ b/Formula/terraform.rb @@ -1,8 +1,8 @@ class Terraform < Formula desc "Tool to build, change, and version infrastructure" homepage "https://www.terraform.io/" - url "https://github.com/hashicorp/terraform/archive/v0.13.5.tar.gz" - sha256 "c4bdb9e636550795862f13e0ae667a1d381bf2f6cd30c4dde54411afdd07aeab" + url "https://github.com/hashicorp/terraform/archive/v0.14.0.tar.gz" + sha256 "3f50b6c5aed44746e42ebbf00375717d352128f49f8eb16903acd95cd64750d0" license "MPL-2.0" head "https://github.com/hashicorp/terraform.git" @@ -19,7 +19,7 @@ class Terraform < Formula sha256 "94b57cec31514334a68b6b31939f7bd465fb792cf663a04bde9ca4752d77aed5" => :mojave end - depends_on "go@1.14" => :build + depends_on "go" => :build conflicts_with "tfenv", because: "tfenv symlinks terraform binaries" @@ -32,7 +32,7 @@ class Terraform < Formula # https://github.com/hashicorp/terraform/issues/26532#issuecomment-720570774 ENV["CGO_ENABLED"] = "1" - system "go", "build", *std_go_args, "-ldflags", "-s -w", "-mod=vendor" + system "go", "build", *std_go_args, "-ldflags", "-s -w" end test do