release -> ci/cd -> version release#61
Conversation
- Updated all SDK versions to 0.1.20 - Generated changelog with git-cliff
|
Caution Review failedThe pull request is closed. WalkthroughAdds PyPI publish steps to the release workflow, updates version metadata to 0.1.20 across projects, simplifies release.sh changelog handling, and enhances the CLI with a --version flag and version subcommand. CHANGELOG updated accordingly. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions
participant Py as Python Env
participant PyPI as PyPI Registry
participant GHRel as GitHub Release
Dev->>GH: Push tag vX.Y.Z
GH->>Py: Setup Python 3.11, install build tools
GH->>Py: Extract TAG_VERSION and PACKAGE_VERSION
Py-->>GH: Compare versions (match/mismatch)
alt versions mismatch
GH-->>Dev: Fail workflow
else versions match
GH->>Py: Build distribution (sdist/wheel)
GH->>PyPI: Check version existence
alt version not on PyPI
GH->>PyPI: Publish artifacts
PyPI-->>GH: Publish OK
else version exists
GH-->>GH: Skip publish
end
GH->>GHRel: Create GitHub Release (body includes pip install snippet)
end
sequenceDiagram
autonumber
actor User as CLI User
participant CLI as runagent (click)
participant Ver as Version Module
User->>CLI: runagent --version
CLI->>Ver: import __version__
alt import ok
CLI-->>User: Print version (styled)
CLI-->>User: Exit
else ImportError
CLI-->>User: Print "version unknown" (styled)
CLI-->>User: Exit
end
User->>CLI: runagent version
CLI->>Ver: import __version__
alt import ok
CLI-->>User: Print version (styled)
else ImportError
CLI-->>User: Print "version unknown" (styled)
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Ruff (0.12.2)runagent/__init__.py�[1;31mruff failed�[0m runagent/__version__.py�[1;31mruff failed�[0m runagent/cli/commands.py�[1;31mruff failed�[0m
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (11)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit