Skip to content

ci: use release-please instead of bumpversion - #133

Merged
sameeul merged 1 commit into
PolusAI:masterfrom
sameeul:ci/release-please
Nov 19, 2026
Merged

sameeul merged 1 commit into
PolusAI:masterfrom
sameeul:ci/release-please

Conversation

@sameeul

@sameeul sameeul commented Nov 19, 2026

Copy link
Copy Markdown
Member

Replaces [tool.bumpversion] with release-please, modeled on PolusAI/nyxus (manifest + config, release-please.yml, publish via workflow_dispatch).

How releases work now

  • Conventional commits (feat:, fix:, ...) merged to master keep a release PR open that bumps the version and updates CHANGELOG.md.
  • Merging the release PR creates the vX.Y.Z tag and GitHub release, then release-please.yml dispatches pypi.yml and docker.yml on that tag.

Changes

  • Add release-please-config.json (simple type, version-file: src/bfio/VERSION, same changelog sections as nyxus) and .release-please-manifest.json (2.5.0, matching the existing v2.5.0 release).
  • README.md and requirements/requirements-base.txt carry x-release-please markers so their version strings (previously bumped by bumpversion) are still updated.
  • pypi.yml / docker.yml are now workflow_dispatch only. Tags created by release-please use GITHUB_TOKEN, which does not trigger tag-push workflows. This drops the -devN tag publish path.
  • Remove the [tool.bumpversion] tables from pyproject.toml.

Before merging: repo setting Actions > General > Allow GitHub Actions to create and approve pull requests must be enabled. The workflow files and JSON/TOML parse, but I have not run release-please itself.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sameeul
sameeul merged commit c23842a into PolusAI:master Nov 19, 2026
6 checks passed
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