Skip to content

fix: give the fifteen hand-built album paths the guard resolve_path has #338

fix: give the fifteen hand-built album paths the guard resolve_path has

fix: give the fifteen hand-built album paths the guard resolve_path has #338

Workflow file for this run

name: Version Sync Check
on:
pull_request:
paths:
- '.claude-plugin/plugin.json'
- '.claude-plugin/marketplace.json'
- 'skills/*/SKILL.md'
- 'tests/**'
permissions:
contents: read
jobs:
check-version-sync:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Verify version files are in sync
run: |
PLUGIN_VERSION=$(jq -r '.version' .claude-plugin/plugin.json)
MARKETPLACE_VERSION=$(jq -r '.plugins[0].version' .claude-plugin/marketplace.json)
echo "plugin.json version: $PLUGIN_VERSION"
echo "marketplace.json version: $MARKETPLACE_VERSION"
if [ "$PLUGIN_VERSION" != "$MARKETPLACE_VERSION" ]; then
echo ""
echo "[FAIL] ERROR: Version files are out of sync!"
echo ""
echo "Please update both:"
echo " - .claude-plugin/plugin.json"
echo " - .claude-plugin/marketplace.json"
echo ""
echo "to the same version number."
exit 1
fi
echo ""
echo "[OK] Version files are in sync: $PLUGIN_VERSION"