Skip to content

Commit b04757a

Browse files
LittleCoinCoinLittleCoinCoin
authored andcommitted
chore: configure semantic-release for 0.x.x versioning behavior
- Add custom release rules to handle pre-1.0.0 development phase - Breaking changes now increment minor version (0.X.0) - Features now increment patch version (0.0.X) - Fixes continue to increment patch version (0.0.X) - Major version remains at 0 until production-ready This ensures proper semantic versioning during the pre-1.0.0 development phase where breaking changes should not increment the major version.
1 parent a7bea4b commit b04757a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.releaserc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
{
1616
"preset": "conventionalcommits",
1717
"releaseRules": [
18+
{"breaking": true, "release": "minor"},
19+
{"type": "feat", "release": "patch"},
1820
{"type": "docs", "scope": "README", "release": "patch"},
1921
{"type": "refactor", "release": "patch"},
2022
{"type": "style", "release": "patch"},

0 commit comments

Comments
 (0)