mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-03 17:48:15 +00:00
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Nightly Canary Release / Check for new commits (push) Has been cancelled
Nightly Canary Release / Build nightly packages (push) Has been cancelled
Nightly Canary Release / Publish nightly to PyPI (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
2.0 KiB
2.0 KiB
crewai-devtools
CLI for versioning and releasing crewAI packages.
Setup
Installed automatically via the workspace (uv sync). Requires:
- GitHub CLI (
gh) — authenticated OPENAI_API_KEYenv var — for release note generation and translationENTERPRISE_REPOenv var — GitHub repo for enterprise releasesENTERPRISE_VERSION_DIRSenv var — comma-separated directories to bump in the enterprise repoENTERPRISE_CREWAI_DEP_PATHenv var — path to the pyproject.toml with thecrewai[tools]pin in the enterprise repo
Commands
devtools release <version>
Full end-to-end release. Bumps versions, creates PRs, tags, publishes a GitHub release, and releases the enterprise repo.
devtools release 1.10.3
devtools release 1.10.3a1 # pre-release
devtools release 1.10.3 --no-edit # skip editing release notes
devtools release 1.10.3 --dry-run # preview without changes
devtools release 1.10.3 --skip-enterprise # skip enterprise release phase
Flow:
- Bumps
__version__and dependency pins across alllib/packages - Runs
uv sync - Creates version bump PR against main, polls until merged
- Generates release notes (OpenAI) from commits since last release
- Updates changelogs (en, pt-BR, ko) and docs version switcher
- Creates docs PR against main, polls until merged
- Tags main and creates GitHub release
- Triggers PyPI publish workflow
- Clones enterprise repo, bumps versions and
crewai[tools]dep, runsuv sync - Creates enterprise bump PR, polls until merged
- Tags and creates GitHub release on enterprise repo
devtools bump <version>
Bump versions only (phase 1 of release).
devtools bump 1.10.3
devtools bump 1.10.3 --no-push # don't push or create PR
devtools bump 1.10.3 --no-commit # only update files
devtools bump 1.10.3 --dry-run
devtools tag
Tag and release only (phase 2 of release). Run after the bump PR is merged.
devtools tag
devtools tag --no-edit
devtools tag --dry-run