This repository was archived by the owner on Jan 27, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ NC='\033[0m' # No Color
1111# Configuration
1212BINARY_NAME=" prime-worker"
1313RELEASE_URL=" https://github.com/PrimeIntellect-ai/protocol/releases"
14+ S3_BASE_URL=" https://storage.googleapis.com/protocol-repo-assets/builds"
1415BINARY_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
2526
2627# Check if dev flag is set
2728if [[ " $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"
3631fi
3732
3833# Print banner and download URL
You can’t perform that action at this time.
0 commit comments