From 466a38ef9abff73136201156746dc6f784a5a377 Mon Sep 17 00:00:00 2001 From: Sven Greb Date: Mon, 21 Sep 2020 21:27:14 +0200 Subject: [PATCH] Release version 0.1.1 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++-- package.json | 2 +- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5269391..9689c60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,33 @@ +# 0.1.1 + +![Release Date: 2020-09-21](https://img.shields.io/static/v1?style=flat-square&label=Release%20Date&message=2020-09-21&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1?style=flat-square&label=Project%20Board&message=0.1.1&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/projects/5) [![Milestone](https://img.shields.io/static/v1?style=flat-square&label=Milestone&message=0.1.1&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/milestone/2) + +⇅ [Show all commits][repo-compare-tag-v0.1.0_v0.1.1] + +## Bug Fixes + +
+YAML multiline string without "block chomping" for config go-header linter causes golangci-lint to fail — #6 ⇄ #7 (⊶ 910c06ff) + +↠ The configuration of the [go-header][] linter is defined in the [golangci-lint][] YAML configuration, but the [YAML multiline-string][yaml-multiline] doesn't used ["block chomping][yaml-spec-1.2#block_chomping] which resulted in a final newline at the end of the template. +This caused golangci-lint to fail because the configured template content doesn't match the parsed text. +To fix this problem the YAML _block chomping_ syntax is now used for the multiline-string so that the final newline at the end gets stripped. + +
+ +
+Invalid branch & CI workflow name in README badges — #8 ⇄ #9 (⊶ e138ca15) + +↠ The name of the branch for the badge URL of the repository changelog was `master` instead of `main` and the GitHub CI action workflow used the uppercase name `CI` instead of `ci`. + +
+ # 0.1.0 -![Release Date: 2020-09-20](https://img.shields.io/static/v1?style=flat-square&label=Release%20Date&message=2020-08-26&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1?style=flat-square&label=Project%20Board&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/projects/4) [![Milestone](https://img.shields.io/static/v1?style=flat-square&label=Milestone&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/milestone/1) +![Release Date: 2020-09-20](https://img.shields.io/static/v1?style=flat-square&label=Release%20Date&message=2020-09-20&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1?style=flat-square&label=Project%20Board&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/projects/4) [![Milestone](https://img.shields.io/static/v1?style=flat-square&label=Milestone&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/tmpl-go/milestone/1) ⇅ [Show all commits][repo-compare-tag-init_v0.1.0] @@ -67,6 +91,8 @@ otherwise Markdown elements are not parsed and rendered! +[golangci-lint]: https://github.com/golangci/golangci-lint + [gh-go-wiki-modules]: https://github.com/golang/go/wiki/Modules @@ -74,6 +100,12 @@ otherwise Markdown elements are not parsed and rendered! [gh-tmpl]: https://github.com/svengreb/tmpl [go-rln-1.15.0]: https://golang.org/doc/go1.15 [golangci-lint-action]: https://github.com/golangci/golangci-lint-action -[golangci-lint]: https://github.com/golangci/golangci-lint [repo-action-query-ci]: https://github.com/svengreb/tmpl-go/actions?query=workflow%3ACI [repo-compare-tag-init_v0.1.0]: https://github.com/svengreb/tmpl-go/compare/87400d37...v0.1.0 + + + +[go-header]: https://github.com/denis-tingajkin/go-header +[repo-compare-tag-v0.1.0_v0.1.1]: https://github.com/svengreb/tmpl-go/compare/v0.1.0...v0.1.1 +[yaml-multiline]: https://yaml-multiline.info +[yaml-spec-1.2#block_chomping]: https://yaml.org/spec/1.2/spec.html#id2794534 diff --git a/package.json b/package.json index 52ecd6c..e70406d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tmpl-go", - "version": "0.1.0", + "version": "0.1.1", "description": "A repository template for Go projects", "author": { "name": "Sven Greb",