From db3e17561668f48603a51b6ef12a0b4065c2123e Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Wed, 10 Feb 2021 12:22:10 -0700 Subject: [PATCH] Revert "Deprecate Go < 1.14 (#1323)" to maintain v1.1 branch compatibility Resolves "v1.1.2 is not semver compliant" due to deprecation of Go version See https://github.com/spf13/cobra/issues/1232#issuecomment-776511216 This reverts commit 1d71ff02701cb01f7e9980754da9c95cb92252d2. --- .travis.yml | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0821efdca..e0a3b5004 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ stages: - build go: - - 1.14.x - - 1.15.x + - 1.12.x + - 1.13.x - tip env: GO111MODULE=on @@ -21,7 +21,7 @@ matrix: - go: tip include: - stage: build - go: 1.14.x + go: 1.13.x script: make cobra_generator script: diff --git a/go.mod b/go.mod index eb7d47fa5..ff5614405 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/spf13/cobra -go 1.14 +go 1.12 require ( github.com/cpuguy83/go-md2man/v2 v2.0.0