diff --git a/docs/config.toml b/docs/config.toml index 5cac1deb9..ab359d92e 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -69,7 +69,7 @@ twitter = "GoHugoIO" [params] description = "The world’s fastest framework for building websites" ## Used for views in rendered HTML (i.e., rather than using the .Hugo variable) - release = "0.51-DEV" + release = "0.51" ## Setting this to true will add a "noindex" to *EVERY* page on the site removefromexternalsearch = false ## Gh repo for site footer (include trailing slash) diff --git a/helpers/hugo.go b/helpers/hugo.go index 5e001c272..501ccd92b 100644 --- a/helpers/hugo.go +++ b/helpers/hugo.go @@ -127,7 +127,7 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion { var CurrentHugoVersion = HugoVersion{ Number: 0.51, PatchLevel: 0, - Suffix: "-DEV", + Suffix: "", } func hugoVersion(version float32, patchVersion int, suffix string) string { diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 26356a22e..bf85c9a2e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,12 +1,12 @@ name: hugo -version: "0.51-DEV" +version: "0.51" summary: Fast and Flexible Static Site Generator description: | Hugo is a static HTML and CSS website generator written in Go. It is optimized for speed, easy use and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website. confinement: strict -grade: devel # "devel" or "stable" +grade: stable # "devel" or "stable" apps: hugo: