v2.2.2: Critical Workflow Migration Fix
🚨 Critical Fix in v2.2.2
This release fixes a critical bug that prevented workflow migration from processing all files.
🛠️ What Was Fixed
Workflow Migration Issue: Migration would stop after converting only the first workflow file, even though it appeared successful.
🔧 Technical Details
- Root Cause:
((success_count++))withset -ecaused script to exit after first increment - Solution: Replaced with
success_count=$((success_count + 1))to avoid zero-evaluation trap - Impact: Now properly processes ALL workflow files instead of stopping after the first one
📊 Before vs After
- Before v2.2.2: Only first workflow converted, migration reported as "failed"
- After v2.2.2: All workflows converted successfully, proper completion message
🚀 Who Should Upgrade
Immediate upgrade recommended for anyone experiencing:
- Workflow migration stopping after first file
- "Migration failed" errors despite first workflow being converted
- Incomplete workflow conversions
📖 Full Changes
- Fixed arithmetic increment in both
migrate_workflows()andupdate_workflows()functions - Updated to version 2.2.2
- Enhanced changelog documentation
Full Changelog: v2.2.1...v2.2.2