We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78630a2 commit 50cdd75Copy full SHA for 50cdd75
1 file changed
src/strategies/base.ts
@@ -289,8 +289,14 @@ export abstract class BaseStrategy implements Strategy {
289
const mergeCommitRegex =
290
/^Merge pull request #\d+ from [^/]+\/release-please(--[\w-]+)+$/;
291
292
- // if there are no commits that are not release pr merge commits, there's nothing to include in a new release PR
293
- if (commits.every(c => mergeCommitRegex.test(c.message))) {
+ // if there are no commits that are not either release pr merge commits or metadata commits,
+ // there's nothing to include in a new release PR
294
+ if (
295
+ commits.every(
296
+ c =>
297
+ mergeCommitRegex.test(c.message) || c.message === 'codegen metadata'
298
+ )
299
+ ) {
300
this.logger.info(
301
`No commits to consider for ${this.path}, all commits are merges of release PRs`
302
);
0 commit comments