summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorhugoreleaser <[email protected]>2017-11-27 11:26:08 +0000
committerhugoreleaser <[email protected]>2017-11-27 11:26:08 +0000
commitaa68205d168b0c6dd09b6af3403be2631bab3152 (patch)
tree9a9c2fcd1f223b8fb7bd3a1923564b38fc9516e4
parent94115888e3dca17ebaa754f78d043f380588d3bb (diff)
downloadhugo-aa68205d168b0c6dd09b6af3403be2631bab3152.tar.gz
hugo-aa68205d168b0c6dd09b6af3403be2631bab3152.zip
releaser: Bump versions for release of 0.31.1
[ci skip]
-rw-r--r--commands/new.go2
-rw-r--r--docs/config.toml2
-rw-r--r--helpers/hugo.go6
-rw-r--r--snapcraft.yaml4
4 files changed, 7 insertions, 7 deletions
diff --git a/commands/new.go b/commands/new.go
index b30c49aa2..697c61fb9 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -347,7 +347,7 @@ description = ""
homepage = "http://example.com/"
tags = []
features = []
-min_version = "0.31"
+min_version = "0.31.1"
[author]
name = ""
diff --git a/docs/config.toml b/docs/config.toml
index 4556c44a0..2f260e7a6 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -71,7 +71,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.32-DEV"
+ release = "0.31.1"
## 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 a44c72fb3..0454b233c 100644
--- a/helpers/hugo.go
+++ b/helpers/hugo.go
@@ -93,9 +93,9 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion {
// CurrentHugoVersion represents the current build version.
// This should be the only one.
var CurrentHugoVersion = HugoVersion{
- Number: 0.32,
- PatchLevel: 0,
- Suffix: "-DEV",
+ Number: 0.31,
+ PatchLevel: 1,
+ Suffix: "",
}
func hugoVersion(version float32, patchVersion int, suffix string) string {
diff --git a/snapcraft.yaml b/snapcraft.yaml
index bcba015ef..cf337c76b 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,12 +1,12 @@
name: hugo
-version: "0.32-DEV"
+version: "0.31.1"
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: