feat(devtools): add release command and trigger PyPI publish

* feat(devtools): add release command and fix automerge on protected branches

Replace gh pr merge --auto with polling-based merge wait that prints the
PR URL for manual review. Add unified release command that chains bump
and tag into a single end-to-end workflow.

* feat(devtools): trigger PyPI publish workflow after GitHub release

* refactor(devtools): extract shared helpers to eliminate duplication

Extract _poll_pr_until_merged, _update_all_versions,
_generate_release_notes, _update_docs_and_create_pr,
_create_tag_and_release, and _trigger_pypi_publish into reusable
helpers. All three commands (bump, tag, release) now compose from
these shared functions.
This commit is contained in:
Greyson LaLonde
2026-03-13 16:41:27 -04:00
committed by GitHub
parent c5a8fef118
commit 326ec15d54
3 changed files with 602 additions and 341 deletions

View File

@@ -21,6 +21,7 @@ dependencies = [
[project.scripts]
bump-version = "crewai_devtools.cli:bump"
tag = "crewai_devtools.cli:tag"
release = "crewai_devtools.cli:release"
devtools = "crewai_devtools.cli:main"
[build-system]