From 7a2d17ca3aa06789e8f4fd197145e80618db6055 Mon Sep 17 00:00:00 2001 From: darrenhinde <107584450+darrenhinde@users.noreply.github.com> Date: Mon, 17 Nov 2025 22:41:44 +0000 Subject: [PATCH] feat: add OPENCODE_BRANCH env var for testing different branches --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4ba6708..b75a384 100755 --- a/install.sh +++ b/install.sh @@ -19,7 +19,8 @@ NC='\033[0m' # No Color # Configuration REPO_URL="https://github.com/darrenhinde/opencode-agents" -RAW_URL="https://raw.githubusercontent.com/darrenhinde/opencode-agents/main" +BRANCH="${OPENCODE_BRANCH:-main}" # Allow override via environment variable +RAW_URL="https://raw.githubusercontent.com/darrenhinde/opencode-agents/${BRANCH}" REGISTRY_URL="${RAW_URL}/registry.json" INSTALL_DIR=".opencode" TEMP_DIR="/tmp/opencode-installer-$$"