Commit d6c5a69
committed
fix(changelog): fix new-app stdout pollution and wrong release title
New apps emitted `writeln('<info>...')` + 3 blank lines to the same
stdout stream as the changelog, so captured output contained those lines
before `## Nextcloud X.Y.Z`. Replace with `$progressBar->setMessage()`
so the status stays in the progress bar and never touches the
changelog output.
The release heading used `$milestoneToCheck` (derived from `$base`),
which gave the wrong version when the base was from a different major
series (e.g. base=v33.0.x → head=v34.0.0 produced `## Nextcloud 33.0.6`).
Introduce `$displayVersion` extracted from `$head` and use it in all
three format output sections. `$milestoneToCheck` is kept unchanged for
the GitHub milestone API query.
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>1 parent 19cdae6 commit d6c5a69
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 356 | | |
360 | 357 | | |
361 | 358 | | |
362 | 359 | | |
363 | 360 | | |
364 | 361 | | |
| 362 | + | |
365 | 363 | | |
366 | 364 | | |
367 | 365 | | |
| |||
542 | 540 | | |
543 | 541 | | |
544 | 542 | | |
545 | | - | |
| 543 | + | |
546 | 544 | | |
547 | 545 | | |
548 | 546 | | |
| |||
577 | 575 | | |
578 | 576 | | |
579 | 577 | | |
580 | | - | |
| 578 | + | |
581 | 579 | | |
582 | 580 | | |
583 | 581 | | |
| |||
595 | 593 | | |
596 | 594 | | |
597 | 595 | | |
598 | | - | |
| 596 | + | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
| |||
0 commit comments