Files
git.stella-ops.org/docs/features/unchecked/cli/policy-version-bump-cli.md

23 lines
802 B
Markdown

# Policy Version Bump CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
Bump policy versions using semantic versioning (patch/minor/major) with changelog messages and DSL file upload.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs` -- policy version commands
- **Commands**:
- `stella policy bump <file> --level patch|minor|major` -- bump policy version. Options: `--message <changelog>`
## E2E Test Plan
- [ ] Run `stella policy bump ./policy.stella --level patch --message "Fix gate threshold"` and verify patch version bump
- [ ] Run with `--level minor` and verify minor version bump
- [ ] Run with `--level major` and verify major version bump
- [ ] Verify changelog message recorded
- [ ] Verify DSL file updated with new version