From f4b416bbeff0ee61adf5b4a811a7eaa380b1507f Mon Sep 17 00:00:00 2001
From: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date: Mon, 20 Nov 2017 10:28:21 +0000
Subject: [PATCH] releaser: Bump versions for release of 0.31

[ci skip]
---
 commands/new.go  | 2 +-
 docs/config.toml | 2 +-
 helpers/hugo.go  | 2 +-
 snapcraft.yaml   | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/commands/new.go b/commands/new.go
index e0530c0e..b30c49aa 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -347,7 +347,7 @@ description = ""
 homepage = "http://example.com/"
 tags = []
 features = []
-min_version = "0.30"
+min_version = "0.31"
 
 [author]
   name = ""
diff --git a/docs/config.toml b/docs/config.toml
index f4cd7c5f..f0f9f77e 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.31-DEV"
+  release = "0.31"
   ## 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 29c3a3b8..07daac9f 100644
--- a/helpers/hugo.go
+++ b/helpers/hugo.go
@@ -95,7 +95,7 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion {
 var CurrentHugoVersion = HugoVersion{
 	Number:     0.31,
 	PatchLevel: 0,
-	Suffix:     "-DEV",
+	Suffix:     "",
 }
 
 func hugoVersion(version float32, patchVersion int, suffix string) string {
diff --git a/snapcraft.yaml b/snapcraft.yaml
index cc97998f..8a9c8dc2 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,12 +1,12 @@
 name: hugo
-version: "0.31-DEV"
+version: "0.31"
 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:
-- 
2.30.2