From: abdullah-alaadine <125296663+abdullah-alaadine@users.noreply.github.com> Date: Wed, 4 Oct 2023 08:28:10 +0000 (+0300) Subject: magefile: Update isGoLatest to check for Go 1.21 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=37a2d5eb4e99b102ba39616917a4c76cb8a142a7;p=brevno-suite%2Fhugo magefile: Update isGoLatest to check for Go 1.21 --- diff --git a/magefile.go b/magefile.go index 2fc2c7f75..c8542dad7 100644 --- a/magefile.go +++ b/magefile.go @@ -329,7 +329,7 @@ func runCmd(env map[string]string, cmd string, args ...any) error { } func isGoLatest() bool { - return strings.Contains(runtime.Version(), "1.14") + return strings.Contains(runtime.Version(), "1.21") } func isCI() bool {