From a978b645cf573ea3696aea0e10951f4c71dda075 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Mon, 6 Apr 2026 15:18:07 +0000 Subject: [PATCH] feat: add footer to release notes with coffee donation link --- cliff.toml | 6 ++++++ scripts/release/generate-notes | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index 8f14e11..b774c35 100644 --- a/cliff.toml +++ b/cliff.toml @@ -13,6 +13,12 @@ body = """ ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/jpawlowski/hass.tibber_prices/commit/{{ commit.id }})) {% endfor %} {% endfor %} + +--- + +If this release saved you some money on your electricity bill, a coffee would be much appreciated! ☕ + +[![Buy Me A Coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee&emoji=☕&slug=jpawlowski&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/jpawlowski) """ trim = true diff --git a/scripts/release/generate-notes b/scripts/release/generate-notes index c6b87f5..61b2919 100755 --- a/scripts/release/generate-notes +++ b/scripts/release/generate-notes @@ -222,9 +222,15 @@ ${COMMITS} - Explanations or rationale for your choices - Meta-commentary about the process - Analysis of why you chose the title -- Any text after the last release note section +- Any text after the footer -End the output after the last release note item. Nothing more." +**Always end the output with this exact footer (after the last release note section):** + +--- + +If this release saved you some money on your electricity bill, a coffee would be much appreciated! ☕ + +[![Buy Me A Coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee&emoji=☕&slug=jpawlowski&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/jpawlowski)" # Save prompt to temp file for copilot TEMP_PROMPT=$(mktemp)