Skip to content

Commit 26dd27d

Browse files
fix: read marketplace version from metadata.version in validate workflow
1 parent a6d84d3 commit 26dd27d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Check version sync
5757
run: |
5858
echo "Checking version sync..."
59-
MARKETPLACE_VERSION=$(python3 -c "import json; print(json.load(open('.claude-plugin/marketplace.json'))['version'])")
59+
MARKETPLACE_VERSION=$(python3 -c "import json; print(json.load(open('.claude-plugin/marketplace.json'))['metadata']['version'])")
6060
PLUGIN_VERSION=$(python3 -c "import json; print(json.load(open('.claude-plugin/plugin.json'))['version'])")
6161
if [ "$MARKETPLACE_VERSION" != "$PLUGIN_VERSION" ]; then
6262
echo "ERROR: Version mismatch - marketplace.json ($MARKETPLACE_VERSION) != plugin.json ($PLUGIN_VERSION)"

0 commit comments

Comments
 (0)