Sam F 9fff00785a
fix shell parsing in server release workflows (#1941)
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.

<!-- This is an auto-generated description by cubic. -->
---
## 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-v3` and
`@browserbasehq/stagehand-server-v4`.

<sup>Written for commit 2c3a8272f11423c30b9e758c17c31dfb7a722214.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1941">Review in
cubic</a></sup>

<!-- End of auto-generated description by cubic. -->
2026-03-31 23:51:39 +02:00
..