ddd_domain/.hop/releases/README.md

42 lines
953 B
Markdown

# Releases Directory
This directory manages release workflows through text files.
## Structure
```
releases/
├── 1.0.0-stage.txt # Development release (stage)
├── 1.0.0-rc.txt # Release candidate
└── 1.0.0-production.txt # Production release
```
## Release Files
Each file contains patch IDs, one per line:
```
001-initial-schema
002-add-authentication
003-user-profiles
```
## Workflow
1. **Development**: Patch development
- `half_orm dev patch create <patch-id>`
- `half_orm dev patch apply`
- `half_orm dev patch merge` (from ho-patch/<patch-id> branch)
- Patches added to X.Y.Z-patches.toml
2. **RC**: Release candidate
- `half_orm dev release promote rc`
- Creates X.Y.Z-rc.txt
- Deletes patch branches
3. **Production**: Final release
- `half_orm dev promote-to prod`
- Creates X.Y.Z-production.txt
- Apply to production: `half_orm dev deploy-to-prod`
See docs/half_orm_dev.md for complete documentation.