release-please 15.7.0 → 15.8.0

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,18 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [15.8.0](https://github.com/googleapis/release-please/compare/v15.7.0...v15.8.0) (2023-02-15)
8
+
9
+
10
+ ### Features
11
+
12
+ * Scan readme files in java-yoshi-mono-repo strategy ([#1853](https://github.com/googleapis/release-please/issues/1853)) ([635cc7d](https://github.com/googleapis/release-please/commit/635cc7d03820d539f470c151db410dd2a8d29eae))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * Github issues link ([#1849](https://github.com/googleapis/release-please/issues/1849)) ([68e6759](https://github.com/googleapis/release-please/commit/68e67591bbae5db51ce0ce7591898a2adf49be96))
18
+
7
19
  ## [15.7.0](https://github.com/googleapis/release-please/compare/v15.6.0...v15.7.0) (2023-02-07)
8
20
 
9
21
 
@@ -312,7 +312,7 @@ class GitHub {
312
312
  * @throws {GitHubAPIError} on an API error
313
313
  */
314
314
  this.commentOnIssue = wrapAsync(async (comment, number) => {
315
- this.logger.debug(`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issue/${number}`);
315
+ this.logger.debug(`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issues/${number}`);
316
316
  const resp = await this.octokit.issues.createComment({
317
317
  owner: this.repository.owner,
318
318
  repo: this.repository.repo,
@@ -85,6 +85,7 @@ class JavaYoshiMonoRepo extends java_1.Java {
85
85
  const pomFilesSearch = this.github.findFilesByFilenameAndRef('pom.xml', this.targetBranch, this.path);
86
86
  const buildFilesSearch = this.github.findFilesByFilenameAndRef('build.gradle', this.targetBranch, this.path);
87
87
  const dependenciesSearch = this.github.findFilesByFilenameAndRef('dependencies.properties', this.targetBranch, this.path);
88
+ const readmeFilesSearch = this.github.findFilesByFilenameAndRef('README.md', this.targetBranch, this.path);
88
89
  const pomFiles = await pomFilesSearch;
89
90
  pomFiles.forEach(path => {
90
91
  updates.push({
@@ -121,6 +122,18 @@ class JavaYoshiMonoRepo extends java_1.Java {
121
122
  }),
122
123
  });
123
124
  });
125
+ const readmeFiles = await readmeFilesSearch;
126
+ readmeFiles.forEach(path => {
127
+ updates.push({
128
+ path: this.addPath(path),
129
+ createIfMissing: false,
130
+ updater: new java_update_1.JavaUpdate({
131
+ version,
132
+ versionsMap,
133
+ isSnapshot: options.isSnapshot,
134
+ }),
135
+ });
136
+ });
124
137
  this.extraFiles.forEach(extraFile => {
125
138
  if (typeof extraFile === 'object') {
126
139
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "15.7.0",
3
+ "version": "15.8.0",
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",