chore: bump version

This commit is contained in:
PCloud 2025-04-19 09:52:35 +01:00
parent a70b3ad42f
commit c60c86740b
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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 -}}

View File

@ -36,4 +36,4 @@ features = [
[module]
[module.hugoVersion]
extended = true
min = "0.122.0"
min = "0.146.0"