feat: add footer to release notes with coffee donation link

This commit is contained in:
Julian Pawlowski 2026-04-06 15:18:07 +00:00
parent da3aa3bf1e
commit a978b645cf
2 changed files with 14 additions and 2 deletions

View file

@ -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

View file

@ -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)