Skip to content

Commit 13a8f55

Browse files
committed
Publish zed
1 parent 71e9a6f commit 13a8f55

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"packages/zed/Cargo.toml":"Patch","packages/core-wasm/package.json":"Patch","packages/vscode/package.json":"Patch","packages/core-wasm/Cargo.toml":"Patch","packages/core/Cargo.toml":"Patch","packages/lsp/Cargo.toml":"Patch"},"note":"Deploy","date":"2026-06-08T05:04:35.663171Z"}

.github/workflows/deploy.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,28 @@ jobs:
366366
git push origin "${tag}"
367367
echo "ready=true" >> "$GITHUB_OUTPUT"
368368
369+
# The action can only BUMP an extension already present in the registry's
370+
# extensions.toml; it errors ("no replacements occurred") for a brand-new
371+
# one. Detect that up front so the job stays green while the one-time
372+
# manual first registration is still pending / under maintainer review.
373+
- name: Check registry registration
374+
id: registry
375+
if: ${{ steps.sync.outputs.ready == 'true' }}
376+
shell: bash
377+
run: |
378+
toml=$(curl -fsSL https://raw.githubusercontent.com/zed-industries/extensions/main/extensions.toml || true)
379+
if printf '%s\n' "$toml" | grep -q '^\[react-component-lens\]'; then
380+
echo "registered=true" >> "$GITHUB_OUTPUT"
381+
else
382+
echo "registered=false" >> "$GITHUB_OUTPUT"
383+
echo "::notice title=Zed extension not registered::react-component-lens is not yet in zed-industries/extensions. Skipping auto-PR. Do the one-time manual registration first (see comment above the publish-zed job); subsequent version bumps will auto-open PRs."
384+
fi
385+
369386
# Bumps the version + submodule pointer in zed-industries/extensions and
370387
# opens a PR from an auto-created personal fork (push-to omitted => fork
371388
# under the COMMITTER_TOKEN owner's account).
372389
- name: Open zed-industries/extensions PR
373-
if: ${{ steps.sync.outputs.ready == 'true' }}
390+
if: ${{ steps.sync.outputs.ready == 'true' && steps.registry.outputs.registered == 'true' }}
374391
uses: huacnlee/zed-extension-action@v2
375392
with:
376393
# Must exactly match the [section] key in the registry extensions.toml.

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)