Commit a9633b8
fix: correct character limit calculation in changelog truncation
Address Copilot review feedback to properly account for the extra
message length when truncating long changelogs.
Changes:
- Extract extra_message into a variable for accurate length calculation
- Calculate max_length by subtracting both feedback_link and extra_message lengths from 4000 limit
- Ensures total output never exceeds TestFlight's 4000 character limit
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b8b014d commit a9633b8
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments