All version bumps MUST use bump-my-version. Never edit version strings manually.
conda activate intercept
bump-my-version bump patch # 0.0.8 → 0.0.9
bump-my-version bump minor # 0.0.8 → 0.1.0
bump-my-version bump major # 0.0.8 → 1.0.0A single bump-my-version bump <part> command:
- Updates version in all managed files (see
.bumpversion.toml):VERSIONfrontend/package.jsonfrontend/package-lock.jsondocs/quickstart/docker-compose.yml(image TAG defaults)
- Creates a git commit (
release: v{new_version}) - Creates a git tag (
v{new_version})
- After all code changes for the release are committed to
main - Before
git push origin main --tags(the tag triggers the release workflow) - Bump should be the final commit before pushing
If a new file contains the version string and should be updated on bump, add a [[tool.bumpversion.files]] entry to .bumpversion.toml. Commit the config change before running the bump.
- The working directory must be clean (no uncommitted changes) before running
bump-my-version - If you need to fix something after bumping, delete the tag (
git tag -d v{version}), reset the commit (git reset --soft HEAD~1), make your fix, commit it, then re-runbump-my-version bump <part>