fix: remove plugin versions from marketplace.json and fix brittle test
- Remove plugin version fields from marketplace.json -- canonical versions live in each plugin's plugin.json. Duplicating them created drift that release-please couldn't maintain. - Remove version sync logic from metadata.ts (description sync kept) - Fix release-preview test to compute expected versions dynamically from current manifests instead of hardcoding them
This commit is contained in:
@@ -198,20 +198,14 @@ export async function syncReleaseMetadata(options: SyncOptions = {}): Promise<Me
|
||||
|
||||
for (const plugin of marketplaceClaude.plugins) {
|
||||
if (plugin.name === "compound-engineering") {
|
||||
if (plugin.version !== expectedCompoundVersion) {
|
||||
plugin.version = expectedCompoundVersion
|
||||
changed = true
|
||||
}
|
||||
if (plugin.description !== compoundMarketplaceDescription) {
|
||||
plugin.description = compoundMarketplaceDescription
|
||||
changed = true
|
||||
}
|
||||
}
|
||||
|
||||
if (plugin.name === "coding-tutor" && plugin.version !== expectedCodingTutorVersion) {
|
||||
plugin.version = expectedCodingTutorVersion
|
||||
changed = true
|
||||
}
|
||||
// Plugin versions are not synced in marketplace.json -- the canonical
|
||||
// version lives in each plugin's own plugin.json. Duplicating versions
|
||||
// here creates drift that release-please can't maintain.
|
||||
}
|
||||
|
||||
updates.push({ path: marketplaceClaudePath, changed })
|
||||
|
||||
Reference in New Issue
Block a user