Skip to content

Claude/auto version pypi 0161 dc y6 pu1 zn s ejpxk y df1x#16

Merged
conradbez merged 2 commits intoclaude/add-diff-strategy-code-0161DcY6PU1ZnSEjpxkYDf1xfrom
claude/auto-version-pypi-0161DcY6PU1ZnSEjpxkYDf1x
Nov 27, 2025
Merged

Claude/auto version pypi 0161 dc y6 pu1 zn s ejpxk y df1x#16
conradbez merged 2 commits intoclaude/add-diff-strategy-code-0161DcY6PU1ZnSEjpxkYDf1xfrom
claude/auto-version-pypi-0161DcY6PU1ZnSEjpxkYDf1x

Conversation

@conradbez
Copy link
Copy Markdown
Owner

No description provided.

This commit implements automatic version management and PyPI publishing:

**Changes:**
- Updated pyproject.toml to use dynamic versioning via hatch-vcs
- Version now derived from git tags instead of hardcoded value
- Split workflow into separate test and publish jobs
- Added automatic tag creation on every push to main (patch bump)
- Auto-publish to PyPI when tag is created
- Create GitHub releases automatically with changelog

**How it works:**
1. Every push to main runs tests
2. Tests pass → auto-creates new tag (v0.1.58 → v0.1.59)
3. Tag creation triggers build with version from tag
4. Package automatically published to PyPI
5. GitHub release created with changelog

**Benefits:**
- No manual version updates needed
- Version controlled via git tags
- Only publishes on tagged releases
- Prevents accidental publishes
- Automated release notes

To manually trigger a specific version bump:
- Patch: git commit -m "fix: bug fix"
- Minor: git commit -m "feat: new feature"
- Major: git commit -m "feat!: breaking change"
- Added How It Works section explaining auto-deploy flow
- Added Initial Setup instructions for creating first tag
- Added Manual Version Bumps section for semantic versioning
- Moved old manual process to collapsed section for reference
@conradbez conradbez changed the base branch from main to claude/add-diff-strategy-code-0161DcY6PU1ZnSEjpxkYDf1x November 26, 2025 23:56
@conradbez conradbez merged commit 9c82ce3 into claude/add-diff-strategy-code-0161DcY6PU1ZnSEjpxkYDf1x Nov 27, 2025
2 of 4 checks passed
@conradbez conradbez deleted the claude/auto-version-pypi-0161DcY6PU1ZnSEjpxkYDf1x branch November 27, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants