File tree Expand file tree Collapse file tree 2 files changed +13
-132
lines changed
Expand file tree Collapse file tree 2 files changed +13
-132
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Both SDKs expose the same API with language-appropriate naming:
6868
69691 . ** Dual implementation required** : New features must be implemented in both languages
70702 . ** CI validates parity** : Feature parity and version sync are checked on every PR
71- 3 . ** Auto-release on main ** : Commits to main automatically bump version and publish to npm/ PyPI
71+ 3 . ** Release via tags ** : Push ` v* ` tag to trigger npm and PyPI publish
7272
7373## Package Names
7474
@@ -79,13 +79,18 @@ Both SDKs expose the same API with language-appropriate naming:
7979
8080## Release Process
8181
82- Releases are automated when commits are pushed to the ` main ` branch :
82+ Releases are triggered by pushing a ` v* ` tag :
8383
84- 1 . ** Auto-bump** : Version is automatically bumped based on commit message:
85- - ` [major] ` or ` BREAKING CHANGE ` → major version bump
86- - ` [minor] ` or ` feat: ` → minor version bump
87- - Default → patch version bump
84+ ``` bash
85+ # Bump version in both SDKs
86+ python scripts/sync-versions.py --bump patch # or minor/major
87+
88+ # Commit the version changes
89+ git add -A && git commit -m " chore: bump version to x.y.z"
8890
89- 2 . ** Skip release** : Add ` [skip release] ` or ` [no release] ` to skip automatic release
91+ # Create and push tag
92+ git tag v0.2.1
93+ git push origin main --tags
94+ ```
9095
91- 3 . ** Manual release ** : Push a ` v* ` tag to trigger release manually
96+ CI automatically publishes to npm and PyPI when the tag is pushed.
You can’t perform that action at this time.
0 commit comments