fix shell parsing in server release workflows
Merged
MO
8mo ago+74+74+01234567890123456789-74-74-01234567890123456789
Fix the server-v3/v4 release workflows to resolve remote tags without the broken nested heredoc shell pattern, while keeping the no-fallback release guards.
Summary by cubic
Fixes the server v3/v4 release workflows by avoiding fragile shell parsing with a Node tag resolver that writes to a temp file. Keeps no-fallback guards and ensures versions advance from the latest remote tag.
- Bug Fixes
- Resolve latest remote tag with git ls-remote in Node (no local tag reliance).
- Write resolver output to a temp file instead of stdout to avoid shell parsing bugs.
- Block release if no remote tag exists and enforce version > highest remote.
- Applies to
@browserbasehq/stagehand-server-v3and@browserbasehq/stagehand-server-v4.