Commit 3112860
committed
feat: state-machine release CLI with stable-base bumping
- Replace positional BUMP arg with --bump keyword option
- Replace --promote with --final (finalize RC or skip RC)
- Remove --rc flag (RC is default for --bump)
- Add 'release status' subcommand showing state and permitted commands
- --bump in RC mode abandons current RC, bumps from last stable tag
- Warning emitted when abandoning an active RC series
- 34 tests covering all state machine transitions1 parent b8ddac9 commit 3112860
4 files changed
Lines changed: 486 additions & 114 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
| 620 | + | |
621 | 621 | | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
| 622 | + | |
| 623 | + | |
628 | 624 | | |
629 | | - | |
630 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
631 | 628 | | |
632 | | - | |
633 | | - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
634 | 634 | | |
635 | | - | |
636 | | - | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
637 | 639 | | |
638 | | - | |
639 | | - | |
| 640 | + | |
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
643 | | - | |
| 644 | + | |
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
| 725 | + | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
736 | 733 | | |
737 | 734 | | |
738 | | - | |
| 735 | + | |
739 | 736 | | |
740 | 737 | | |
741 | 738 | | |
| |||
745 | 742 | | |
746 | 743 | | |
747 | 744 | | |
| 745 | + | |
| 746 | + | |
748 | 747 | | |
749 | 748 | | |
750 | 749 | | |
| |||
0 commit comments