diff --git a/.goreleaser.yml b/.goreleaser.yml index bd5000677..ba60b106b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,5 +45,7 @@ brews: type: optional - name: kubectl type: optional + - name: wget + type: optional test: | system "#{bin}/zero version" diff --git a/cmd/check.go b/cmd/check.go index 06307ddb4..8490d3bfb 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -124,7 +124,7 @@ var checkCmd = &cobra.Command{ command: "terraform", args: []string{"version"}, regexStr: `Terraform v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)`, - minVersion: "0.12.0", + minVersion: "0.13.0", docsURL: "https://www.terraform.io/downloads.html", }, { @@ -143,6 +143,14 @@ var checkCmd = &cobra.Command{ minVersion: "2.17.1", docsURL: "https://git-scm.com/book/en/v2/Getting-Started-Installing-Git", }, + { + name: "Wget\t\t", + command: "wget", + args: []string{"--version"}, + regexStr: `^GNU Wget (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)`, + minVersion: "1.14.0", + docsURL: "https://www.gnu.org/software/wget/", + }, } // Store and errors from the commands we run.