fix(ce-update): use correct marketplace name in cache path (#566)

This commit is contained in:
Trevin Chow
2026-04-15 10:04:55 -07:00
committed by GitHub
parent 8ec6d339fe
commit d8305dd159

View File

@@ -28,10 +28,10 @@ below handles those cases.
!`echo "${CLAUDE_PLUGIN_ROOT}" 2>/dev/null || echo '__CE_UPDATE_ROOT_FAILED__'`
**Latest released version:**
!`gh release list --repo Everyinc/compound-engineering-plugin --limit 30 --json tagName --jq '[.[] | select(.tagName | startswith("compound-engineering-v"))][0].tagName | sub("compound-engineering-v";"")' 2>/dev/null || echo '__CE_UPDATE_VERSION_FAILED__'`
!`gh release list --repo EveryInc/compound-engineering-plugin --limit 30 --json tagName --jq '[.[] | select(.tagName | startswith("compound-engineering-v"))][0].tagName | sub("compound-engineering-v";"")' 2>/dev/null || echo '__CE_UPDATE_VERSION_FAILED__'`
**Cached version folder(s):**
!`ls "${CLAUDE_PLUGIN_ROOT}/cache/every-marketplace/compound-engineering/" 2>/dev/null || echo '__CE_UPDATE_CACHE_FAILED__'`
!`ls "${CLAUDE_PLUGIN_ROOT}/cache/compound-engineering-plugin/compound-engineering/" 2>/dev/null || echo '__CE_UPDATE_CACHE_FAILED__'`
## Decision logic
@@ -61,7 +61,7 @@ construct the delete path.
**Clear the stale cache:**
```bash
rm -rf "<plugin-root-path>/cache/every-marketplace/compound-engineering"
rm -rf "<plugin-root-path>/cache/compound-engineering-plugin/compound-engineering"
```
Tell the user: