release-please 15.10.3 → 15.10.4

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.4](https://github.com/googleapis/release-please/compare/v15.10.3...v15.10.4) (2023-04-19)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Add more trace logging when searching for latest release version ([#1922](https://github.com/googleapis/release-please/issues/1922)) ([c33cc81](https://github.com/googleapis/release-please/commit/c33cc8112fc366242182bcb3a28015c488f6140b))
13
+
7
14
  ## [15.10.3](https://github.com/googleapis/release-please/compare/v15.10.2...v15.10.3) (2023-04-11)
8
15
 
9
16
 
@@ -920,19 +920,23 @@ async function latestReleaseVersion(github, targetBranch, releaseFilter, config,
920
920
  commitShas.add(commitWithPullRequest.sha);
921
921
  const mergedPullRequest = commitWithPullRequest.pullRequest;
922
922
  if (!mergedPullRequest) {
923
+ logger.trace(`skipping commit: ${commitWithPullRequest.sha} missing merged pull request`);
923
924
  continue;
924
925
  }
925
926
  const branchName = branch_name_1.BranchName.parse(mergedPullRequest.headBranchName, logger);
926
927
  if (!branchName) {
928
+ logger.trace(`skipping commit: ${commitWithPullRequest.sha} unrecognized branch name: ${mergedPullRequest.headBranchName}`);
927
929
  continue;
928
930
  }
929
931
  // If branchPrefix is specified, ensure it is found in the branch name.
930
932
  // If branchPrefix is not specified, component should also be undefined.
931
933
  if (branchName.getComponent() !== branchPrefix) {
934
+ logger.trace(`skipping commit: ${commitWithPullRequest.sha} branch component ${branchName.getComponent()} doesn't match expected prefix: ${branchPrefix}`);
932
935
  continue;
933
936
  }
934
937
  const pullRequestTitle = pull_request_title_1.PullRequestTitle.parse(mergedPullRequest.title, config.pullRequestTitlePattern, logger);
935
938
  if (!pullRequestTitle) {
939
+ logger.trace(`skipping commit: ${commitWithPullRequest.sha} couldn't parse pull request title: ${mergedPullRequest.title}`);
936
940
  continue;
937
941
  }
938
942
  const version = pullRequestTitle.getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "15.10.3",
3
+ "version": "15.10.4",
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",