mirror of
https://github.com/trycua/computer.git
synced 2026-01-02 19:40:18 -06:00
The bug: When pypi-publish-agent is called via workflow_call from bump-version, github.event_name is "workflow_dispatch" (inherited from parent), NOT "workflow_call". This caused the code to check github.event.inputs.version (empty) instead of inputs.version (0.4.44). The fix: Check inputs.version first, before checking event_name. This works correctly for: - workflow_call: uses inputs.version - Tag push: extracts from tag - workflow_dispatch with version param: uses inputs.version - workflow_dispatch event UI: uses event.inputs.version Debug output showed: - Event name: workflow_dispatch - Input version: 0.4.44 (correct!) - Workflow dispatch version: (empty) - Final VERSION= (bug - used wrong source) Now it will use inputs.version first, giving VERSION=0.4.44. Fixes: https://github.com/trycua/cua/actions/runs/19483269380 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>