Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit e30e187

Browse files
carlkesselmanclaude
andcommitted
Add bump-version instructions to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 37e3980 commit e30e187

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@ uv run pytest
2121
# Lint and format
2222
uv run ruff check src/
2323
uv run ruff format src/
24+
25+
# Bump version (requires clean working tree — commit first)
26+
uv run bump-version patch # Bug fix (0.5.1 → 0.5.2)
27+
uv run bump-version minor # New feature (0.5.1 → 0.6.0)
28+
uv run bump-version major # Breaking change (0.5.1 → 1.0.0)
2429
```
2530

31+
**Version bumping:** Use `bump-version` from deriva-ml (not `bump-my-version` directly). It finds the latest git tag, increments the version, creates a new tag, and pushes both the tag and commits to remote. The working tree must be clean (all changes committed) before bumping. Version is derived dynamically from git tags via `setuptools_scm`.
32+
2633
## Architecture
2734

2835
### Project Structure

0 commit comments

Comments
 (0)