Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit e385923

Browse files
authored
fix install script (#448)
1 parent 814d400 commit e385923

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

crates/worker/scripts/install.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ NC='\033[0m' # No Color
1111
# Configuration
1212
BINARY_NAME="prime-worker"
1313
RELEASE_URL="https://github.com/PrimeIntellect-ai/protocol/releases"
14+
S3_BASE_URL="https://storage.googleapis.com/protocol-repo-assets/builds"
1415
BINARY_URL="$RELEASE_URL/latest/download/worker-linux-x86_64"
1516

1617
# Determine install directory - try system dir first, fall back to user dir if needed
@@ -25,14 +26,8 @@ fi
2526

2627
# Check if dev flag is set
2728
if [[ "$1" == "--dev" ]]; then
28-
echo -e "${BLUE}→ Fetching latest dev tag from GitHub API...${NC}"
29-
LATEST_DEV_TAG=$(curl -s "https://api.github.com/repos/PrimeIntellect-ai/protocol/tags" | grep -o '"name": *"v[0-9]\+\.[0-9]\+\.[0-9]\+-beta\.[0-9]\+"' | head -1 | sed 's/"name": *"\(.*\)"/\1/')
30-
if [[ -z "$LATEST_DEV_TAG" ]]; then
31-
echo -e "${RED}✗ Could not find latest dev tag${NC}"
32-
exit 1
33-
fi
34-
echo -e "${GREEN}✓ Found latest dev tag: $LATEST_DEV_TAG${NC}"
35-
BINARY_URL="$RELEASE_URL/download/$LATEST_DEV_TAG/worker-linux-x86_64"
29+
echo -e "${BLUE}→ Using latest dev build from S3...${NC}"
30+
BINARY_URL="$S3_BASE_URL/latest/worker-linux-x86_64"
3631
fi
3732

3833
# Print banner and download URL

0 commit comments

Comments
 (0)