Commit f1d1e26
committed
fix: resolve test failures for publish flag and lifecycle inference
## Fixed Issues
1. **Missing --create-pr flag on publish command**
- Added --create-pr flag to the publish command as documented in data-model.md
- Resolves TestDocParity_AllFlagsExist/publish test failure
2. **Incorrect lifecycle inference for beta/rc versions**
- Changed inferLifecycleFromVersion to return "preview" (not "beta") for beta and rc version prefixes
- Resolves TestInferLifecycleFromVersion test failures
## Test Results
✅ All tests passing1 parent b2eecfb commit f1d1e26
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
0 commit comments