Skip to content

Commit d30370d

Browse files
claudebafu
authored andcommitted
fix: keep tag-based release trigger instead of auto-release
Remove auto-release workflow and update CLAUDE.md to reflect tag-based release process (push v* tag to trigger release). https://claude.ai/code/session_01844sqT34tFRq7VGXRr7HMa
1 parent 5ba7966 commit d30370d

File tree

2 files changed

+13
-132
lines changed

2 files changed

+13
-132
lines changed

.github/workflows/auto-release.yml

Lines changed: 0 additions & 124 deletions
This file was deleted.

CLAUDE.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Both SDKs expose the same API with language-appropriate naming:
6868

6969
1. **Dual implementation required**: New features must be implemented in both languages
7070
2. **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.

0 commit comments

Comments
 (0)