diff options
| author | Taylor Mullen <[email protected]> | 2025-05-30 22:38:58 -0700 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-05-30 22:41:54 -0700 |
| commit | 190e6be800fa9095d0d0e5274e3ec16bd2f1f978 (patch) | |
| tree | 299b4182dff6bb79cfa9d5bec0896f668e3426e3 | |
| parent | bda7ec94df2074d006058ff9f739edc6e3996214 (diff) | |
Fix: Update sandbox build to use new core package name
- The `packages/core` tarball name changed from `gemini-code-server-*.tgz` to `gemini-code-core-*.tgz` after the `server` to `core` rename.
- This updates `scripts/build_sandbox.sh` and the root `Dockerfile` to use the new `gemini-code-core-*.tgz` naming, resolving the CI failure during the Docker build step of the publish process.
| -rw-r--r-- | Dockerfile | 6 | ||||
| -rwxr-xr-x | scripts/build_sandbox.sh | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -35,10 +35,10 @@ USER node # install gemini-cli and clean up COPY packages/cli/dist/gemini-code-cli-*.tgz /usr/local/share/npm-global/gemini-code-cli.tgz -COPY packages/core/dist/gemini-code-server-*.tgz /usr/local/share/npm-global/gemini-code-server.tgz -RUN npm install -g /usr/local/share/npm-global/gemini-code-cli.tgz /usr/local/share/npm-global/gemini-code-server.tgz \ +COPY packages/core/dist/gemini-code-core-*.tgz /usr/local/share/npm-global/gemini-code-core.tgz +RUN npm install -g /usr/local/share/npm-global/gemini-code-cli.tgz /usr/local/share/npm-global/gemini-code-core.tgz \ && npm cache clean --force \ - && rm -f /usr/local/share/npm-global/gemini-code-{cli,server}.tgz + && rm -f /usr/local/share/npm-global/gemini-code-{cli,core}.tgz # default entrypoint when none specified CMD ["gemini"] diff --git a/scripts/build_sandbox.sh b/scripts/build_sandbox.sh index 1012f790..76847f90 100755 --- a/scripts/build_sandbox.sh +++ b/scripts/build_sandbox.sh @@ -59,7 +59,7 @@ rm -f packages/cli/dist/gemini-code-cli-*.tgz npm pack -w @gemini-code/cli --pack-destination ./packages/cli/dist &>/dev/null # pack core echo "packing @gemini-code/core ..." -rm -f packages/core/dist/gemini-code-server-*.tgz +rm -f packages/core/dist/gemini-code-core-*.tgz npm pack -w @gemini-code/core --pack-destination ./packages/core/dist &>/dev/null # give node user (used during installation, see Dockerfile) access to these files chmod 755 packages/*/dist/gemini-code-*.tgz |
