mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 15:16:52 -04:00
Automate the Hugo release process
This commit adds a work flow aroung GoReleaser to get the Hugo release process automated and more uniform: * It can be run fully automated or in two steps to allow for manual edits of the relase notes. * It supports both patch and full releases. * It fetches author, issue, repo info. etc. for the release notes from GitHub. * The file names produced are mainly the same as before, but we no use tar.gz as archive for all Unix versions. * There isn't a fully automated CI setup in place yet, but the release tag is marked in the commit message with "[ci deploy]" Fixes #3358
This commit is contained in:
parent
71977cbcff
commit
8f92ccde50
@ -45,6 +45,11 @@ pluralizeListTitles = false
|
|||||||
identifier = "about"
|
identifier = "about"
|
||||||
pre = "<i class='fa fa-heart'></i>"
|
pre = "<i class='fa fa-heart'></i>"
|
||||||
weight = -110
|
weight = -110
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Release Notes"
|
||||||
|
url = "/release-notes/"
|
||||||
|
pre = "<i class='fa fa-newspaper-o'></i>"
|
||||||
|
weight = -111
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Getting Started"
|
name = "Getting Started"
|
||||||
identifier = "getting started"
|
identifier = "getting started"
|
||||||
|
8
content/release-notes/_index.md
Normal file
8
content/release-notes/_index.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
date: 2017-04-17
|
||||||
|
aliases:
|
||||||
|
- /doc/release-notes/
|
||||||
|
- /meta/release-notes/
|
||||||
|
title: Release Notes
|
||||||
|
weight: 10
|
||||||
|
---
|
@ -2,12 +2,8 @@
|
|||||||
aliases:
|
aliases:
|
||||||
- /doc/release-notes/
|
- /doc/release-notes/
|
||||||
- /meta/release-notes/
|
- /meta/release-notes/
|
||||||
date: 2013-07-01
|
date: 2017-04-16
|
||||||
menu:
|
title: Older Release Notes
|
||||||
main:
|
|
||||||
parent: about
|
|
||||||
title: Release Notes
|
|
||||||
weight: 10
|
|
||||||
---
|
---
|
||||||
# **0.20.2** April 16th 2017
|
# **0.20.2** April 16th 2017
|
||||||
|
|
6
layouts/section/release-notes.html
Normal file
6
layouts/section/release-notes.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
{{ range .Pages }}
|
||||||
|
<h1>{{ .Title }} {{ .Date.Format "Jan 2, 2006" }}</h1>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user