Skip to content

Commit 1dca237

Browse files
authored
fix: use hybrid calver instead of patch in version patterns (#29)
* chore(release): prepare v1.7.20260410 - Vivid Cardinal * fix: use hybrid calver instead of patch in version patterns - Changed version format from v{major}.{minor}.{patch} to v{major}.{minor}.{YYYYMMDD} - Updated template-manager and repo-manager agents - Now consistent with generated project versioning
1 parent 75b181b commit 1dca237

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.opencode/agents/repo-manager.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ As a Release Engineer focused on the template repository:
3131

3232
## Template Versioning Strategy
3333

34-
For the cookiecutter template repository, use semantic versioning: `v{major}.{minor}.{patch}`
34+
For the cookiecutter template repository, use hybrid calver: `v{major}.{minor}.{YYYYMMDD}`
3535

3636
**Version Semantics:**
3737
- **Major**: Breaking changes to template structure or cookiecutter variables
3838
- **Minor**: New features (agents, skills, workflows) - backward compatible
39-
- **Patch**: Bug fixes, documentation updates, minor improvements
39+
- **Calver**: Calendar date of release (YYYYMMDD)
4040

4141
**Examples:**
42-
- `v1.0.0` - Initial stable template release
43-
- `v1.1.0` - Added new agent capabilities
44-
- `v1.1.1` - Fixed documentation typos
45-
- `v2.0.0` - Changed cookiecutter.json structure
42+
- `v1.0.20260312` - Initial release on March 12, 2026
43+
- `v1.1.20260315` - Added new agent capabilities on March 15
44+
- `v1.2.20260315` - Second release same day (increment minor)
45+
- `v2.0.20260401` - Changed cookiecutter.json structure on April 1
4646

4747
## Release Engineering Standards
4848

@@ -95,7 +95,7 @@ For the cookiecutter template repository, use semantic versioning: `v{major}.{mi
9595
```bash
9696
git checkout develop
9797
git pull origin develop
98-
git checkout -b release/v{major}.{minor}.{patch}
98+
git checkout -b release/v{major}.{minor}.{YYYYMMDD}
9999
```
100100

101101
2. **Changelog Generation**

.opencode/agents/template-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ python-project-template/
5454
## Release Engineering Process
5555

5656
### Semantic Versioning Strategy
57-
Following SemVer 2.0.0 specification: `v{major}.{minor}.{patch}`
57+
Following hybrid calver specification: `v{major}.{minor}.{YYYYMMDD}`
5858
- **Major (Breaking)**: API changes, cookiecutter variable modifications, structural changes
5959
- **Minor (Feature)**: New capabilities, agents, skills, backward-compatible enhancements
6060
- **Patch (Fix)**: Bug fixes, documentation updates, security patches

0 commit comments

Comments
 (0)