From 3c41e4e8f12b7f06258490bb7a85388de1eca381 Mon Sep 17 00:00:00 2001 From: Dax Date: Fri, 2 Jan 2026 16:02:52 -0500 Subject: chore: rename repo references from sst/opencode to anomalyco/opencode (#6687) Co-authored-by: Github Action --- install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install') diff --git a/install b/install index 702fb4a53..f995e2d43 100755 --- a/install +++ b/install @@ -147,8 +147,8 @@ INSTALL_DIR=$HOME/.opencode/bin mkdir -p "$INSTALL_DIR" if [ -z "$requested_version" ]; then - url="https://github.com/sst/opencode/releases/latest/download/$filename" - specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p') + url="https://github.com/anomalyco/opencode/releases/latest/download/$filename" + specific_version=$(curl -s https://api.github.com/repos/anomalyco/opencode/releases/latest | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p') if [[ $? -ne 0 || -z "$specific_version" ]]; then echo -e "${RED}Failed to fetch version information${NC}" @@ -157,14 +157,14 @@ if [ -z "$requested_version" ]; then else # Strip leading 'v' if present requested_version="${requested_version#v}" - url="https://github.com/sst/opencode/releases/download/v${requested_version}/$filename" + url="https://github.com/anomalyco/opencode/releases/download/v${requested_version}/$filename" specific_version=$requested_version # Verify the release exists before downloading - http_status=$(curl -sI -o /dev/null -w "%{http_code}" "https://github.com/sst/opencode/releases/tag/v${requested_version}") + http_status=$(curl -sI -o /dev/null -w "%{http_code}" "https://github.com/anomalyco/opencode/releases/tag/v${requested_version}") if [ "$http_status" = "404" ]; then echo -e "${RED}Error: Release v${requested_version} not found${NC}" - echo -e "${MUTED}Available releases: https://github.com/sst/opencode/releases${NC}" + echo -e "${MUTED}Available releases: https://github.com/anomalyco/opencode/releases${NC}" exit 1 fi fi -- cgit v1.2.3