shithub: hugo

Download patch

ref: 3d6fdb8ed33075b947b84df3bbc5481e802f61ee
parent: 4de808ae7caa30bef86d25eb77f53205fcb78e07
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Dec 19 10:35:20 EST 2016

Bump to 0.18 release version

--- a/commands/new.go
+++ b/commands/new.go
@@ -296,7 +296,7 @@
 homepage = "http://siteforthistheme.com/"
 tags = ["", ""]
 features = ["", ""]
-min_version = 0.17
+min_version = 0.18
 
 [author]
   name = ""
--- a/helpers/hugo.go
+++ b/helpers/hugo.go
@@ -23,8 +23,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.18-DEV"
+version: "0.18"
 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: