Skip to content

An open-source, faster Devin alternative

TypeScript

Remove Windows from CLI build targets

motatoes9163f84e0f07
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 264880d5..3b67576d 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -70,16 +70,12 @@ jobs:
"linux/arm64"
"darwin/amd64"
"darwin/arm64"
- "windows/amd64"
)
for platform in "${platforms[@]}"; do
GOOS="${platform%/*}"
GOARCH="${platform#*/}"
output="dist/oc-${GOOS}-${GOARCH}"
- if [ "$GOOS" = "windows" ]; then
- output="${output}.exe"
- fi
echo "Building ${GOOS}/${GOARCH}..."
CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" go build \
-ldflags "$LDFLAGS" \
diff --git a/docs/cli/overview.mdx b/docs/cli/overview.mdx
index cbd6ccef..9abe2635 100644
--- a/docs/cli/overview.mdx
+++ b/docs/cli/overview.mdx
@@ -31,10 +31,6 @@ curl -fsSL https://github.com/diggerhq/opencomputer/releases/latest/download/oc-
chmod +x /usr/local/bin/oc
```
-```bash Windows (PowerShell)
-Invoke-WebRequest -Uri https://github.com/diggerhq/opencomputer/releases/latest/download/oc-windows-amd64.exe -OutFile oc.exe
-```
-
</CodeGroup>
Verify the installation: