Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,20 @@ node -e "
"
echo " ✅ packages/claude-code-plugin/.claude-plugin/plugin.json"

# 6. .mcp.json (if exists — gitignored, local only)
if [ -f ".mcp.json" ]; then
node -e "
const fs = require('fs');
const p = '.mcp.json';
const content = fs.readFileSync(p, 'utf-8');
const updated = content.replace(/codingbuddy@[0-9]+\.[0-9]+\.[0-9]+/, 'codingbuddy@$NEW_VERSION');
fs.writeFileSync(p, updated);
"
echo " ✅ .mcp.json"
else
echo " ⏭️ .mcp.json (not found, skipped)"
fi

echo ""
echo "✅ All files bumped to v$NEW_VERSION"
echo " Next: git commit -am \"chore(release): prepare v$NEW_VERSION\""
17 changes: 17 additions & 0 deletions scripts/verify-release-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,23 @@ for package_info in "${PACKAGES[@]}"; do
fi
done

# Check .mcp.json (gitignored, local only)
if [ -f ".mcp.json" ]; then
mcp_version=$(node -e "
const content = require('fs').readFileSync('.mcp.json', 'utf-8');
const match = content.match(/codingbuddy@([0-9]+\.[0-9]+\.[0-9]+)/);
console.log(match ? match[1] : '');
")
if [ "$mcp_version" = "$TAG_VERSION" ]; then
echo "✅ .mcp.json codingbuddy: @$mcp_version (matches tag)"
else
echo "❌ .mcp.json codingbuddy: @$mcp_version (tag is v$TAG_VERSION)"
ALL_MATCH=false
fi
else
echo "⏭️ .mcp.json (not found, skipped)"
fi

echo ""

if [ "$ALL_MATCH" = true ]; then
Expand Down
Loading