diff --git a/dist/index.js b/dist/index.js index b7b0daf..15d3933 100644 --- a/dist/index.js +++ b/dist/index.js @@ -86801,7 +86801,7 @@ class GitHub { * @throws {GitHubAPIError} on an API error */ this.commentOnIssue = wrapAsync(async (comment, number) => { - this.logger.debug(`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issue/${number}`); + this.logger.debug(`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issues/${number}`); const resp = await this.octokit.issues.createComment({ owner: this.repository.owner, repo: this.repository.repo, @@ -91756,6 +91756,7 @@ class JavaYoshiMonoRepo extends java_1.Java { const pomFilesSearch = this.github.findFilesByFilenameAndRef('pom.xml', this.targetBranch, this.path); const buildFilesSearch = this.github.findFilesByFilenameAndRef('build.gradle', this.targetBranch, this.path); const dependenciesSearch = this.github.findFilesByFilenameAndRef('dependencies.properties', this.targetBranch, this.path); + const readmeFilesSearch = this.github.findFilesByFilenameAndRef('README.md', this.targetBranch, this.path); const pomFiles = await pomFilesSearch; pomFiles.forEach(path => { updates.push({ @@ -91792,6 +91793,18 @@ class JavaYoshiMonoRepo extends java_1.Java { }), }); }); + const readmeFiles = await readmeFilesSearch; + readmeFiles.forEach(path => { + updates.push({ + path: this.addPath(path), + createIfMissing: false, + updater: new java_update_1.JavaUpdate({ + version, + versionsMap, + isSnapshot: options.isSnapshot, + }), + }); + }); this.extraFiles.forEach(extraFile => { if (typeof extraFile === 'object') { return; @@ -119554,7 +119567,7 @@ module.exports = {}; /***/ ((module) => { "use strict"; -module.exports = {"i8":"15.7.0"}; +module.exports = {"i8":"15.8.0"}; /***/ }),