feat: add OPENCODE_BRANCH env var for testing different branches
This commit is contained in:
parent
777b3fc702
commit
7a2d17ca3a
1 changed files with 2 additions and 1 deletions
|
|
@ -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-$$"
|
||||
|
|
|
|||
Loading…
Reference in a new issue