diff --git a/.projenrc.ts b/.projenrc.ts index 8a64bf6f7..867227932 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -1556,6 +1556,15 @@ const cliInteg = configureProject( // integ tests. majorVersion: 3, + // For our integ tests we can just release anything, doesn't matter if it + // is a dependency update or something else. In fact we often incorrectly + // label changes updates as 'chore' and then our canaries start failing + // because we didn't release the integ tests package. + // + // Cannot be set to `ReleasableCommits.everyCommit()` because that would + // actually include very commit in the monorepo. + releasableCommits: pj.ReleasableCommits.exec('git log --no-merges --oneline $LATEST_TAG..HEAD -- .'), + srcdir: '.', libdir: '.', deps: [ diff --git a/packages/@aws-cdk-testing/cli-integ/.projen/tasks.json b/packages/@aws-cdk-testing/cli-integ/.projen/tasks.json index b820bb782..f5eb89dd2 100644 --- a/packages/@aws-cdk-testing/cli-integ/.projen/tasks.json +++ b/packages/@aws-cdk-testing/cli-integ/.projen/tasks.json @@ -33,7 +33,7 @@ "VERSIONRCOPTIONS": "{\"path\":\".\"}", "BUMP_PACKAGE": "commit-and-tag-version@^12", "NEXT_VERSION_COMMAND": "tsx ../../../projenrc/next-version.ts neverMajor maybeRc", - "RELEASABLE_COMMITS": "git log --no-merges --oneline $LATEST_TAG..HEAD -E --grep \"^(feat|fix){1}(\\([^()[:space:]]+\\))?(!)?:[[:blank:]]+.+\" -- .", + "RELEASABLE_COMMITS": "git log --no-merges --oneline $LATEST_TAG..HEAD -- .", "MAJOR": "3" }, "steps": [ @@ -202,7 +202,7 @@ "VERSIONRCOPTIONS": "{\"path\":\".\"}", "BUMP_PACKAGE": "commit-and-tag-version@^12", "NEXT_VERSION_COMMAND": "tsx ../../../projenrc/next-version.ts neverMajor maybeRc", - "RELEASABLE_COMMITS": "git log --no-merges --oneline $LATEST_TAG..HEAD -E --grep \"^(feat|fix){1}(\\([^()[:space:]]+\\))?(!)?:[[:blank:]]+.+\" -- ." + "RELEASABLE_COMMITS": "git log --no-merges --oneline $LATEST_TAG..HEAD -- ." }, "steps": [ {