release-please 15.10.1 → 15.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [15.10.2](https://github.com/googleapis/release-please/compare/v15.10.1...v15.10.2) (2023-04-11)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **github-changelog-notes:** Prepend header to create parseable release notes ([#1912](https://github.com/googleapis/release-please/issues/1912)) ([3f53d40](https://github.com/googleapis/release-please/commit/3f53d40c8c3f927fffdf8973128e12450703a6e4))
13
+
7
14
  ## [15.10.1](https://github.com/googleapis/release-please/compare/v15.10.0...v15.10.1) (2023-04-10)
8
15
 
9
16
 
@@ -19,7 +19,10 @@ class GitHubChangelogNotes {
19
19
  this.github = github;
20
20
  }
21
21
  async buildNotes(_commits, options) {
22
- return await this.github.generateReleaseNotes(options.currentTag, options.targetBranch, options.previousTag);
22
+ const body = await this.github.generateReleaseNotes(options.currentTag, options.targetBranch, options.previousTag);
23
+ const date = new Date().toLocaleDateString('en-CA');
24
+ const header = `## ${options.version} (${date})`;
25
+ return `${header}\n\n${body}`;
23
26
  }
24
27
  }
25
28
  exports.GitHubChangelogNotes = GitHubChangelogNotes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "15.10.1",
3
+ "version": "15.10.2",
4
4
  "description": "generate release PRs based on the conventionalcommits.org spec",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": "./build/src/bin/release-please.js",