Commit b546b22
Fix release recovery instructions showing placeholder branch names (#5)
* Fix release recovery instructions showing placeholder branch names
When a release fails during the push_branch step, recovery
instructions showed 'git push origin <branch>:<branch>' instead of
the actual branch name. Extract branch resolution logic into a new
get_push_branch_info() function that returns push info without
executing, allowing the step tracker to display accurate commands.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add changelog entry for branch name display fix
Resolves: #5
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Format utils.py with ruff
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent a0399be commit b546b22
File tree
3 files changed
+61
-6
lines changed- changelog/unreleased
- src/tenzir_ship
- cli
3 files changed
+61
-6
lines changedLines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
573 | 574 | | |
574 | 575 | | |
575 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
576 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
577 | 590 | | |
578 | | - | |
579 | | - | |
| 591 | + | |
| 592 | + | |
580 | 593 | | |
581 | 594 | | |
582 | 595 | | |
| |||
609 | 622 | | |
610 | 623 | | |
611 | 624 | | |
612 | | - | |
613 | | - | |
614 | | - | |
| 625 | + | |
615 | 626 | | |
616 | 627 | | |
617 | 628 | | |
618 | | - | |
| 629 | + | |
619 | 630 | | |
620 | 631 | | |
621 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
551 | 570 | | |
552 | 571 | | |
553 | 572 | | |
| |||
0 commit comments