The open source coding agent.
TypeScript
ci: tweak
Dax Raad1b2d3bf65944
diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.tsindex baeca558bc9..33ddeff0551 100755--- a/packages/opencode/script/publish.ts+++ b/packages/opencode/script/publish.ts@@ -148,10 +148,11 @@ if (!snapshot) {"","build() {",` cd "opencode-\${pkgver}"`,+ ` bun install`," cd packages/tui",` CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=\${pkgver}" -o tui cmd/opencode/main.go`," cd ../opencode",- ` bun build --define OPENCODE_TUI_PATH="'../tui/tui'" --define OPENCODE_VERSION="'\${pkgver}'" --compile --target=bun-linux-x64 --outfile=opencode ./src/index.ts`,+ ` bun build --define OPENCODE_TUI_PATH="'$(realpath ../tui/tui)'" --define OPENCODE_VERSION="'\${pkgver}'" --compile --target=bun-linux-x64 --outfile=opencode ./src/index.ts`,"}","","package() {",