mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
magefile: Update isGoLatest to check for Go 1.21
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4c95389c25
commit
37a2d5eb4e
@ -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