diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-04-13 16:59:05 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-04-24 11:08:56 +0200 |
commit | 7f6430d84d68765536b8758b1331a4b84db04c84 (patch) | |
tree | 7c2b1450c2d2789fbbc0323fc6027dac586ef6df /transform | |
parent | 0e87b18b66d2c8ba9e2abc429630cb03f5b093d6 (diff) | |
download | hugo-7f6430d84d68765536b8758b1331a4b84db04c84.tar.gz hugo-7f6430d84d68765536b8758b1331a4b84db04c84.zip |
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 'transform')
-rw-r--r-- | transform/hugogeneratorinject.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/hugogeneratorinject.go b/transform/hugogeneratorinject.go index 4c37a058d..d80cdaf26 100644 --- a/transform/hugogeneratorinject.go +++ b/transform/hugogeneratorinject.go @@ -22,7 +22,7 @@ import ( ) var metaTagsCheck = regexp.MustCompile(`(?i)<meta\s+name=['|"]?generator['|"]?`) -var hugoGeneratorTag = fmt.Sprintf(`<meta name="generator" content="Hugo %s" />`, helpers.HugoVersion()) +var hugoGeneratorTag = fmt.Sprintf(`<meta name="generator" content="Hugo %s" />`, helpers.CurrentHugoVersion) // HugoGeneratorInject injects a meta generator tag for Hugo if none present. func HugoGeneratorInject(ct contentTransformer) { |