mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
magefile: Update isGoLatest to check for Go 1.21
This commit is contained in:
1 parent
4c95389c25
commit
37a2d5eb4e
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user