Commit e483556
ci(bump): gracefully handle no bump-eligible commits
When commits like docs:, ci:, or build(deps): are pushed to master,
cz bump exits with code 21 (NO_COMMITS_TO_BUMP), failing the workflow.
Handle exit code 21 explicitly by setting bumped=false and exiting 0.
Subsequent changelog and release steps are now conditional on
bumped == 'true', so they are skipped when there is nothing to release.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3eada5d commit e483556
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
| |||
0 commit comments