shithub: hugo

Download patch

ref: dac0d4a69d40e46f62b6915b5a6fc57cd7120298
parent: 03ec2b3397fc75eb3504af8d68b5e2ba3e70039b
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Apr 10 05:10:53 EDT 2017

all: Prepare Hugo 0.20 release version

--- a/commands/new.go
+++ b/commands/new.go
@@ -320,7 +320,7 @@
 homepage = "http://siteforthistheme.com/"
 tags = []
 features = []
-min_version = "0.19"
+min_version = "0.20"
 
 [author]
   name = ""
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -9,7 +9,7 @@
 [params]
   description = "Documentation of Hugo, a fast and flexible static site generator built with love by spf13, bep and friends in Go"
   author = "Steve Francia (spf13) and friends"
-  release = "0.20-DEV"
+  release = "0.20"
 
 [taxonomies]
   tag = "tags"
--- a/helpers/hugo.go
+++ b/helpers/hugo.go
@@ -32,8 +32,8 @@
 
 // HugoVersionSuffix is the suffix used in the Hugo version string.
 // It will be blank for release versions.
-const HugoVersionSuffix = "-DEV" // use this when not doing a release
-//const HugoVersionSuffix = "" // use this line when doing a release
+//const HugoVersionSuffix = "-DEV" // use this when not doing a release
+const HugoVersionSuffix = "" // use this line when doing a release
 
 // HugoVersion returns the current Hugo version. It will include
 // a suffix, typically '-DEV', if it's development version.
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,5 +1,5 @@
 name: hugo
-version: "0.20-DEV"
+version: "0.20"
 summary: Fast and Flexible Static Site Generator
 description: |
   Hugo is a static HTML and CSS website generator written in Go. It is
@@ -6,7 +6,7 @@
   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: