Environment
- OS: Windows 11 Enterprise (10.0.26100)
- Shell: Git Bash (via PowerShell wrapper)
- Bun: 1.3.13
- gstack version: 1.39.1.0 (upgrading from 1.17.0.0)
What happened
./setup fails during bun run build with:
error: Failed to run script build due to error Subshells with redirections are currently not supported. Please open a GitHub issue.
The offending pattern in the build script (package.json) is:
( git rev-parse HEAD 2>/dev/null || true ) > browse/dist/.version
Bun's built-in shell doesn't support ( ... ) > file redirection from a subshell. This blocks the upgrade from completing — binaries don't rebuild, and downstream chmod / cleanup steps never run.
## Reproduction
On Windows with Bun 1.3.13, install gstack 1.17.0.0
Run /gstack-upgrade (or ./setup directly after git pull)
Build fails at the .version write step
Environment
What happened
./setupfails duringbun run buildwith:error: Failed to run script build due to error Subshells with redirections are currently not supported. Please open a GitHub issue.
The offending pattern in the
buildscript (package.json) is: