summaryrefslogtreecommitdiffhomepage
path: root/install
diff options
context:
space:
mode:
authorDax <[email protected]>2026-01-02 16:02:52 -0500
committerGitHub <[email protected]>2026-01-02 16:02:52 -0500
commit3c41e4e8f12b7f06258490bb7a85388de1eca381 (patch)
treec031d4b5fd12409c0a25bf18f39a9b8a191cc625 /install
parent66bc046503190622e9d652bbed6a940b003aeb77 (diff)
downloadopencode-3c41e4e8f12b7f06258490bb7a85388de1eca381.tar.gz
opencode-3c41e4e8f12b7f06258490bb7a85388de1eca381.zip
chore: rename repo references from sst/opencode to anomalyco/opencode (#6687)
Co-authored-by: Github Action <[email protected]>
Diffstat (limited to 'install')
-rwxr-xr-xinstall10
1 files changed, 5 insertions, 5 deletions
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