mirror of
https://github.com/HEIGE-PCloud/DoIt
synced 2025-04-29 15:57:35 +08:00
chore: bump version
This commit is contained in:
parent
a70b3ad42f
commit
c60c86740b
@ -1,7 +1,7 @@
|
||||
{{- .Scratch.Set "version" "0.4.1" -}}
|
||||
{{- .Scratch.Set "version" "0.4.2" -}}
|
||||
|
||||
{{- /* Check Hugo version */ -}}
|
||||
{{- $MINIMAL_HUGO_VERSION := "0.141.0" -}}
|
||||
{{- $MINIMAL_HUGO_VERSION := "0.142.0" -}}
|
||||
{{- if lt hugo.Version $MINIMAL_HUGO_VERSION -}}
|
||||
{{- errorf "\n\nHugo version is too low.\nHugo 版本过低。\n\nCurrent Hugo version is %v, the oldest supported version is %v.\n目前使用的 Hugo 版本为 %v, DoIt 支持的最老的 Hugo 版本为 %v。\n\nIf you are running Hugo on your own computer, check out https://gohugo.io/getting-started/installing/#upgrade-hugo for upgrading guide.\n如果你正在自己的计算机上运行 Hugo,请访问 https://gohugo.io/getting-started/installing/#upgrade-hugo 以查阅升级指南。\n\nIf you are deploying on a third-party platform, please configure Hugo version accordingly.\n如果你正在第三方平台上部署,请按照相应文档配置 Hugo 版本。\n\n" hugo.Version $MINIMAL_HUGO_VERSION hugo.Version $MINIMAL_HUGO_VERSION -}}
|
||||
{{- end -}}
|
||||
|
@ -36,4 +36,4 @@ features = [
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.122.0"
|
||||
min = "0.146.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user