mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
magefile: Update isGoLatest to check for Go 1.21
This commit is contained in:
parent
4c95389c25
commit
37a2d5eb4e
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ func runCmd(env map[string]string, cmd string, args ...any) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func isGoLatest() bool {
|
func isGoLatest() bool {
|
||||||
return strings.Contains(runtime.Version(), "1.14")
|
return strings.Contains(runtime.Version(), "1.21")
|
||||||
}
|
}
|
||||||
|
|
||||||
func isCI() bool {
|
func isCI() bool {
|
||||||
|
|
Loading…
Reference in a new issue