From a102a8bc448e0f29de451456b3fc4f563b93b790 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 26 Aug 2024 13:13:31 -0700 Subject: [PATCH 1/2] fix: no duplicate changelog entries (#471) release-please will re-inject the entire changelog when looking for the existing dependencies section in some cases. Have multiple newlines between sections of the changelog triggers that behavior because it looks for lines that do no start with '*' but it does not account for empty lines --- lib/release/changelog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/release/changelog.js b/lib/release/changelog.js index 9ee059a7..65af14e7 100644 --- a/lib/release/changelog.js +++ b/lib/release/changelog.js @@ -51,7 +51,7 @@ class Changelog { return '' } - return body.join('\n\n').trim() + return body.join('\n').trim() } } @@ -154,7 +154,7 @@ class ChangelogNotes { const subject = wrapSpecs(commit.bareMessage) entry.push([scope, subject].filter(Boolean).join(' ')) - // A list og the authors github handles or names + // A list of the authors github handles or names if (commit.authors.length) { entry.push(`(${commit.authors.join(', ')})`) } From 68990e6eec10630107ad62f134f891ee1278d87b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:49:21 -0700 Subject: [PATCH 2/2] chore: release 4.23.3 (#472) :robot: I have created a release *beep* *boop* --- ## [4.23.3](https://github.com/npm/template-oss/compare/v4.23.2...v4.23.3) (2024-08-26) ### Bug Fixes * [`a102a8b`](https://github.com/npm/template-oss/commit/a102a8bc448e0f29de451456b3fc4f563b93b790) [#471](https://github.com/npm/template-oss/pull/471) no duplicate changelog entries (#471) (@lukekarrys) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 4 ++++ package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c4b75363..c2955074 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.23.2" + ".": "4.23.3" } diff --git a/CHANGELOG.md b/CHANGELOG.md index cb704790..8041bf1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [4.23.3](https://github.com/npm/template-oss/compare/v4.23.2...v4.23.3) (2024-08-26) +### Bug Fixes +* [`a102a8b`](https://github.com/npm/template-oss/commit/a102a8bc448e0f29de451456b3fc4f563b93b790) [#471](https://github.com/npm/template-oss/pull/471) no duplicate changelog entries (#471) (@lukekarrys) + ## [4.23.2](https://github.com/npm/template-oss/compare/v4.23.1...v4.23.2) (2024-08-13) ### Bug Fixes diff --git a/package.json b/package.json index 1b2d4f7d..97cc78ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/template-oss", - "version": "4.23.2", + "version": "4.23.3", "description": "templated files used in npm CLI team oss projects", "main": "lib/content/index.js", "bin": {