release-please 15.7.0 → 15.8.1
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,25 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/release-please?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [15.8.1](https://github.com/googleapis/release-please/compare/v15.8.0...v15.8.1) (2023-03-07)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **sequential-calls:** Use push instead of concat when returning releases ([#1865](https://github.com/googleapis/release-please/issues/1865)) ([1026c73](https://github.com/googleapis/release-please/commit/1026c7366a94b4dbfa567580613bcf31a991a516))
|
|
13
|
+
|
|
14
|
+
## [15.8.0](https://github.com/googleapis/release-please/compare/v15.7.0...v15.8.0) (2023-02-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* 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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* Github issues link ([#1849](https://github.com/googleapis/release-please/issues/1849)) ([68e6759](https://github.com/googleapis/release-please/commit/68e67591bbae5db51ce0ce7591898a2adf49be96))
|
|
25
|
+
|
|
7
26
|
## [15.7.0](https://github.com/googleapis/release-please/compare/v15.6.0...v15.7.0) (2023-02-07)
|
|
8
27
|
|
|
9
28
|
|
package/build/src/github.js
CHANGED
|
@@ -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}/
|
|
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,
|
package/build/src/manifest.js
CHANGED
|
@@ -629,7 +629,7 @@ class Manifest {
|
|
|
629
629
|
const resultReleases = [];
|
|
630
630
|
for (const pullNumber in releasesByPullRequest) {
|
|
631
631
|
const releases = await this.createReleasesForPullRequest(releasesByPullRequest[pullNumber], pullRequestsByNumber[pullNumber]);
|
|
632
|
-
resultReleases.
|
|
632
|
+
resultReleases.push(...releases);
|
|
633
633
|
}
|
|
634
634
|
return resultReleases;
|
|
635
635
|
}
|
|
@@ -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;
|