From f04dac1fd07687cec8ea302937ca588b33786e98 Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Sat, 24 Feb 2024 14:33:03 +0000 Subject: [PATCH] chore(release): v5.2.1 [skip ci] --- CHANGELOG.md | 18 +++++++++--------- dist/commit.hbs | 41 ++++++++++++++++++++++++++++++++++++----- dist/commit1.hbs | 41 +++++------------------------------------ dist/footer.hbs | 11 +++++++++++ dist/footer1.hbs | 11 ----------- dist/header.hbs | 20 ++++++++++++++++++-- dist/header1.hbs | 20 ++------------------ dist/index.js | 16 ++++++++-------- dist/template.hbs | 13 +++---------- dist/template1.hbs | 13 ++++++++++--- package.json | 2 +- 11 files changed, 103 insertions(+), 103 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bd4ea6d..0efe681a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [5.2.1](https://github.com/TriPSs/conventional-changelog-action/compare/v5.2.0...v5.2.1) (2024-02-24) + + +### Bug Fixes + +* support git-path config option for version bump ([e3346a2](https://github.com/TriPSs/conventional-changelog-action/commit/e3346a2be870347e11d3186035c42d3095bc0d8f)) + + + # [5.2.0](https://github.com/TriPSs/conventional-changelog-action/compare/v5.1.0...v5.2.0) (2024-02-07) @@ -42,12 +51,3 @@ -# [4.1.0](https://github.com/TriPSs/conventional-changelog-action/compare/v4.0.0...v4.1.0) (2023-09-21) - - -### Features - -* elixir support ([e669b12](https://github.com/TriPSs/conventional-changelog-action/commit/e669b12b9395bcb967ca5674c03ed7d6364ce675)) - - - diff --git a/dist/commit.hbs b/dist/commit.hbs index 641c2f37..e10a0d90 100644 --- a/dist/commit.hbs +++ b/dist/commit.hbs @@ -5,11 +5,23 @@ {{~header}} {{~/if}} -{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}} - ([{{shortHash}}]({{commitUrlFormat}})) +{{~!-- commit link --}} {{#if @root.linkReferences~}} + ([{{shortHash}}]( + {{~#if @root.repository}} + {{~#if @root.host}} + {{~@root.host}}/ + {{~/if}} + {{~#if @root.owner}} + {{~@root.owner}}/ + {{~/if}} + {{~@root.repository}} + {{~else}} + {{~@root.repoUrl}} + {{~/if}}/ + {{~@root.commit}}/{{hash}})) {{~else}} {{~shortHash}} -{{~/if}}{{~/if}} +{{~/if}} {{~!-- commit references --}} {{~#if references~}} @@ -19,12 +31,31 @@ {{~#if this.owner}} {{~this.owner}}/ {{~/if}} - {{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}}) + {{~this.repository}}#{{this.issue}}]( + {{~#if @root.repository}} + {{~#if @root.host}} + {{~@root.host}}/ + {{~/if}} + {{~#if this.repository}} + {{~#if this.owner}} + {{~this.owner}}/ + {{~/if}} + {{~this.repository}} + {{~else}} + {{~#if @root.owner}} + {{~@root.owner}}/ + {{~/if}} + {{~@root.repository}} + {{~/if}} + {{~else}} + {{~@root.repoUrl}} + {{~/if}}/ + {{~@root.issue}}/{{this.issue}}) {{~else}} {{~#if this.owner}} {{~this.owner}}/ {{~/if}} - {{~this.repository}}{{this.prefix}}{{this.issue}} + {{~this.repository}}#{{this.issue}} {{~/if}}{{/each}} {{~/if}} diff --git a/dist/commit1.hbs b/dist/commit1.hbs index e10a0d90..641c2f37 100644 --- a/dist/commit1.hbs +++ b/dist/commit1.hbs @@ -5,23 +5,11 @@ {{~header}} {{~/if}} -{{~!-- commit link --}} {{#if @root.linkReferences~}} - ([{{shortHash}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.commit}}/{{hash}})) +{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}} + ([{{shortHash}}]({{commitUrlFormat}})) {{~else}} {{~shortHash}} -{{~/if}} +{{~/if}}{{~/if}} {{~!-- commit references --}} {{~#if references~}} @@ -31,31 +19,12 @@ {{~#if this.owner}} {{~this.owner}}/ {{~/if}} - {{~this.repository}}#{{this.issue}}]( - {{~#if @root.repository}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if this.repository}} - {{~#if this.owner}} - {{~this.owner}}/ - {{~/if}} - {{~this.repository}} - {{~else}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~/if}} - {{~else}} - {{~@root.repoUrl}} - {{~/if}}/ - {{~@root.issue}}/{{this.issue}}) + {{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}}) {{~else}} {{~#if this.owner}} {{~this.owner}}/ {{~/if}} - {{~this.repository}}#{{this.issue}} + {{~this.repository}}{{this.prefix}}{{this.issue}} {{~/if}}{{/each}} {{~/if}} diff --git a/dist/footer.hbs b/dist/footer.hbs index e69de29b..2aa774f5 100644 --- a/dist/footer.hbs +++ b/dist/footer.hbs @@ -0,0 +1,11 @@ +{{#if noteGroups}} +{{#each noteGroups}} + +### {{title}} + +{{#each notes}} +* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} +{{/each}} +{{/each}} + +{{/if}} diff --git a/dist/footer1.hbs b/dist/footer1.hbs index 2aa774f5..e69de29b 100644 --- a/dist/footer1.hbs +++ b/dist/footer1.hbs @@ -1,11 +0,0 @@ -{{#if noteGroups}} -{{#each noteGroups}} - -### {{title}} - -{{#each notes}} -* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} -{{/each}} -{{/each}} - -{{/if}} diff --git a/dist/header.hbs b/dist/header.hbs index d7efc8fb..fc781c4b 100644 --- a/dist/header.hbs +++ b/dist/header.hbs @@ -1,5 +1,21 @@ -## {{#if @root.linkCompare~}} - [{{version}}]({{compareUrlFormat}}) +{{#if isPatch~}} + ## +{{~else~}} + # +{{~/if}} {{#if @root.linkCompare~}} + [{{version}}]( + {{~#if @root.repository~}} + {{~#if @root.host}} + {{~@root.host}}/ + {{~/if}} + {{~#if @root.owner}} + {{~@root.owner}}/ + {{~/if}} + {{~@root.repository}} + {{~else}} + {{~@root.repoUrl}} + {{~/if~}} + /compare/{{previousTag}}...{{currentTag}}) {{~else}} {{~version}} {{~/if}} diff --git a/dist/header1.hbs b/dist/header1.hbs index fc781c4b..d7efc8fb 100644 --- a/dist/header1.hbs +++ b/dist/header1.hbs @@ -1,21 +1,5 @@ -{{#if isPatch~}} - ## -{{~else~}} - # -{{~/if}} {{#if @root.linkCompare~}} - [{{version}}]( - {{~#if @root.repository~}} - {{~#if @root.host}} - {{~@root.host}}/ - {{~/if}} - {{~#if @root.owner}} - {{~@root.owner}}/ - {{~/if}} - {{~@root.repository}} - {{~else}} - {{~@root.repoUrl}} - {{~/if~}} - /compare/{{previousTag}}...{{currentTag}}) +## {{#if @root.linkCompare~}} + [{{version}}]({{compareUrlFormat}}) {{~else}} {{~version}} {{~/if}} diff --git a/dist/index.js b/dist/index.js index 5c6963c3..f20c2995 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5520,10 +5520,10 @@ const { resolve } = __nccwpck_require__(1017) async function createWriterOpts () { const [template, header, commit, footer] = await Promise.all([ - readFile(__nccwpck_require__.ab + "template1.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "header1.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "commit1.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "footer1.hbs", 'utf-8') + readFile(__nccwpck_require__.ab + "template.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "header.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "commit.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "footer.hbs", 'utf-8') ]) const writerOpts = getWriterOpts() @@ -5864,10 +5864,10 @@ async function createWriterOpts (config) { commit, footer ] = await Promise.all([ - readFile(__nccwpck_require__.ab + "template.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "header.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "commit.hbs", 'utf-8'), - readFile(__nccwpck_require__.ab + "footer.hbs", 'utf-8') + readFile(__nccwpck_require__.ab + "template1.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "header1.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "commit1.hbs", 'utf-8'), + readFile(__nccwpck_require__.ab + "footer1.hbs", 'utf-8') ]) const writerOpts = getWriterOpts(finalConfig) diff --git a/dist/template.hbs b/dist/template.hbs index 3b194f06..38e15d24 100644 --- a/dist/template.hbs +++ b/dist/template.hbs @@ -1,15 +1,5 @@ {{> header}} -{{#if noteGroups}} -{{#each noteGroups}} - -### ⚠ {{title}} - -{{#each notes}} -* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} -{{/each}} -{{/each}} -{{/if}} {{#each commitGroups}} {{#if title}} @@ -21,3 +11,6 @@ {{/each}} {{/each}} +{{> footer}} + + diff --git a/dist/template1.hbs b/dist/template1.hbs index 38e15d24..3b194f06 100644 --- a/dist/template1.hbs +++ b/dist/template1.hbs @@ -1,5 +1,15 @@ {{> header}} +{{#if noteGroups}} +{{#each noteGroups}} + +### ⚠ {{title}} + +{{#each notes}} +* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}} +{{/each}} +{{/each}} +{{/if}} {{#each commitGroups}} {{#if title}} @@ -11,6 +21,3 @@ {{/each}} {{/each}} -{{> footer}} - - diff --git a/package.json b/package.json index 64b5b385..c177f498 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "conventional-changelog-action", - "version": "5.2.0", + "version": "5.2.1", "description": "Github Action that generates a changelog with the Conventional Changelog CLI", "keywords": [ "actions",