mirror of
https://github.com/trycua/computer.git
synced 2026-01-02 11:30:12 -06:00
When bumping cua-computer, we publish both packages. However, since cua-agent depends on cua-computer, we should publish computer FIRST, then agent. This ensures the new computer version is available on PyPI before agent (which depends on it) is published. Changes: - Reordered jobs: publish-computer before publish-agent - Added publish-computer to publish-agent's needs list - Updated publish-agent condition to use always() with explicit result checks - When service is cua-agent: publishes immediately - When service is cua-computer: waits for publish-computer to succeed first Job execution order: 1. bump-version (bumps versions, pushes to git) 2. publish-computer (only when service == cua-computer) 3. publish-agent (waits for computer if service == cua-computer) This prevents dependency errors where agent might be published before the computer version it depends on is available on PyPI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>