summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorhugoreleaser <[email protected]>2018-11-07 10:09:43 +0000
committerhugoreleaser <[email protected]>2018-11-07 10:09:43 +0000
commit1ccc0b79a2686474a5e35c0c5377a68beb3c2c9b (patch)
treed38ab1a5522a680f784133c41645bed2bb07a4ac
parentcbed50e22bbece72cc0510ca8935a281434608d8 (diff)
downloadhugo-1ccc0b79a2686474a5e35c0c5377a68beb3c2c9b.tar.gz
hugo-1ccc0b79a2686474a5e35c0c5377a68beb3c2c9b.zip
releaser: Bump versions for release of 0.51
[ci skip]
-rw-r--r--docs/config.toml2
-rw-r--r--helpers/hugo.go2
-rw-r--r--snap/snapcraft.yaml4
3 files changed, 4 insertions, 4 deletions
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: