From 6b4c46a3053d60472854f0840a8859ffbe693287 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Fri, 17 Apr 2026 11:59:34 +0000 Subject: [PATCH] chore(scripts): disable git-cliff --include-path by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-cliff ≤2.12.0 --include-path ignores the commit range and generates a full changelog. The commit_parsers in cliff.toml already filter non-user-facing types/scopes, making path filtering redundant. Changed RELEASE_NOTES_CLIFF_FILTER_PATHS default from true to false. User-Impact: none --- scripts/release/generate-notes | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/release/generate-notes b/scripts/release/generate-notes index 0d23301..828693c 100755 --- a/scripts/release/generate-notes +++ b/scripts/release/generate-notes @@ -45,7 +45,7 @@ USE_AI="${USE_AI:-true}" GITHUB_REPO="${GITHUB_REPOSITORY:-jpawlowski/hass.tibber_prices}" RELEASE_NOTES_COMPACT_DIFF="${RELEASE_NOTES_COMPACT_DIFF:-true}" RELEASE_NOTES_DIFF_MAX_BYTES="${RELEASE_NOTES_DIFF_MAX_BYTES:-8000}" -RELEASE_NOTES_CLIFF_FILTER_PATHS="${RELEASE_NOTES_CLIFF_FILTER_PATHS:-true}" +RELEASE_NOTES_CLIFF_FILTER_PATHS="${RELEASE_NOTES_CLIFF_FILTER_PATHS:-false}" RELEASE_NOTES_CLIFF_SINGLE_RELEASE="${RELEASE_NOTES_CLIFF_SINGLE_RELEASE:-true}" RELEASE_NOTES_TRAILER_SKIP_FILTER="${RELEASE_NOTES_TRAILER_SKIP_FILTER:-true}" @@ -546,8 +546,11 @@ EOF CLIFF_CMD=(git-cliff --config "$CLIFF_CONFIG") - # Restrict changelog to user-facing integration files by default. - # Toggle with: RELEASE_NOTES_CLIFF_FILTER_PATHS=false + # Restrict changelog to user-facing integration files. + # DISABLED by default: git-cliff ≤2.12.0 --include-path ignores the commit + # range and generates a full changelog instead of the requested tag range. + # The commit_parsers in cliff.toml already filter non-user-facing types/scopes. + # Toggle with: RELEASE_NOTES_CLIFF_FILTER_PATHS=true if is_truthy "$RELEASE_NOTES_CLIFF_FILTER_PATHS"; then CLIFF_CMD+=(--include-path "custom_components/tibber_prices/**") fi