Commit 5647725
committed
stop clipping the last word off short release titles
The release-title derivation word-clipped even when the changelog headline was already under 80 chars: first_line[:80] returned the whole string, then rfind chopped the final word. v0.7.1 shipped as "...add test" instead of "...add test coverage". Only word-clip when the line actually exceeds 80.1 parent c41066f commit 5647725
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
0 commit comments