Skip to content

ci: switch to python-semantic-release for automated versioning#3

Merged
abrichr merged 1 commit intomainfrom
ci/semantic-release
Mar 4, 2026
Merged

ci: switch to python-semantic-release for automated versioning#3
abrichr merged 1 commit intomainfrom
ci/semantic-release

Conversation

@abrichr
Copy link
Member

@abrichr abrichr commented Mar 4, 2026

Summary

  • Replace manual tag-based publish with python-semantic-release (matches openadapt-evals, openadapt-ml, etc.)
  • Add [tool.semantic_release] config to pyproject.toml
  • Uses org-level ADMIN_TOKEN (already available)

How it works

  1. Merge a PR with conventional commit title (e.g. feat: add X, fix: Y)
  2. Semantic release auto-bumps version in pyproject.toml, commits, tags, publishes to PyPI, creates GitHub Release

No manual tagging needed.

Test plan

  • Merge this PR (triggers release since it's a ci: commit — no version bump expected)
  • Merge a feat: PR → verify 0.2.0 published to PyPI

🤖 Generated with Claude Code

Conventional commit PR titles (feat:, fix:, etc.) auto-bump version,
tag, publish to PyPI, and create GitHub Releases on merge to main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abrichr abrichr merged commit d5b3f3f into main Mar 4, 2026
1 check passed
@abrichr abrichr deleted the ci/semantic-release branch March 4, 2026 03:50
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.

1 participant