Skip to content

Commit 1ab95b2

Browse files
authored
Merge pull request #225 from twsl/patch-1
Update download URL for claude-code releases
2 parents f587423 + a87a829 commit 1ab95b2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/claude-code/bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ -n "$TARGET" ]] && [[ ! "$TARGET" =~ ^(stable|latest|[0-9]+\.[0-9]+\.[0-9]
1111
exit 1
1212
fi
1313

14-
GCS_BUCKET="https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases"
14+
DOWNLOAD_BASE_URL="https://downloads.claude.ai/claude-code-releases"
1515
DOWNLOAD_DIR="$HOME/.claude/downloads"
1616

1717
# Check for required dependencies
@@ -105,10 +105,10 @@ fi
105105
mkdir -p "$DOWNLOAD_DIR"
106106

107107
# Always download latest version (which has the most up-to-date installer)
108-
version=$(download_file "$GCS_BUCKET/latest")
108+
version=$(download_file "$DOWNLOAD_BASE_URL/latest")
109109

110110
# Download manifest and extract checksum
111-
manifest_json=$(download_file "$GCS_BUCKET/$version/manifest.json")
111+
manifest_json=$(download_file "$DOWNLOAD_BASE_URL/$version/manifest.json")
112112

113113
# Use jq if available, otherwise fall back to pure bash parsing
114114
if [ "$HAS_JQ" = true ]; then
@@ -125,7 +125,7 @@ fi
125125

126126
# Download and verify
127127
binary_path="$DOWNLOAD_DIR/claude-$version-$platform"
128-
if ! download_file "$GCS_BUCKET/$version/$platform/claude" "$binary_path"; then
128+
if ! download_file "$DOWNLOAD_BASE_URL/$version/$platform/claude" "$binary_path"; then
129129
echo "Download failed" >&2
130130
rm -f "$binary_path"
131131
exit 1

src/claude-code/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "claude-code",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"name": "claude-code",
55
"documentationURL": "http://github.com/devcontainers-extra/features/tree/main/src/claude-code",
66
"description": "Claude Code is an agentic coding tool that lives in your terminal",
@@ -22,4 +22,4 @@
2222
}
2323
},
2424
"installsAfter": []
25-
}
25+
}

0 commit comments

Comments
 (0)