diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-13 16:59:05 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-24 11:08:56 +0200 |
commit | 7f6430d84d68765536b8758b1331a4b84db04c84 (patch) | |
tree | 7c2b1450c2d2789fbbc0323fc6027dac586ef6df /docs | |
parent | 0e87b18b66d2c8ba9e2abc429630cb03f5b093d6 (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config.toml | 5 | ||||
-rw-r--r-- | docs/content/release-notes/_index.md | 8 | ||||
-rw-r--r-- | docs/content/release-notes/release-notes.md (renamed from docs/content/meta/release-notes.md) | 8 | ||||
-rw-r--r-- | docs/layouts/section/release-notes.html | 6 |
4 files changed, 21 insertions, 6 deletions
diff --git a/docs/config.toml b/docs/config.toml index 25288342b..8d91a66bd 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -46,6 +46,11 @@ pluralizeListTitles = false pre = "<i class='fa fa-heart'></i>" weight = -110 [[menu.main]] + name = "Release Notes" + url = "/release-notes/" + pre = "<i class='fa fa-newspaper-o'></i>" + weight = -111 +[[menu.main]] name = "Getting Started" identifier = "getting started" pre = "<i class='fa fa-road'></i>" diff --git a/docs/content/release-notes/_index.md b/docs/content/release-notes/_index.md new file mode 100644 index 000000000..3b934c69d --- /dev/null +++ b/docs/content/release-notes/_index.md @@ -0,0 +1,8 @@ +--- +date: 2017-04-17 +aliases: +- /doc/release-notes/ +- /meta/release-notes/ +title: Release Notes +weight: 10 +--- diff --git a/docs/content/meta/release-notes.md b/docs/content/release-notes/release-notes.md index af82d908a..7f962e318 100644 --- a/docs/content/meta/release-notes.md +++ b/docs/content/release-notes/release-notes.md @@ -2,12 +2,8 @@ aliases: - /doc/release-notes/ - /meta/release-notes/ -date: 2013-07-01 -menu: - main: - parent: about -title: Release Notes -weight: 10 +date: 2017-04-16 +title: Older Release Notes --- # **0.20.2** April 16th 2017 diff --git a/docs/layouts/section/release-notes.html b/docs/layouts/section/release-notes.html new file mode 100644 index 000000000..6af512603 --- /dev/null +++ b/docs/layouts/section/release-notes.html @@ -0,0 +1,6 @@ +{{ define "main" }} +{{ range .Pages }} +<h1>{{ .Title }} {{ .Date.Format "Jan 2, 2006" }}</h1> +{{ .Content }} +{{ end }} +{{ end }}
\ No newline at end of file |