#!/bin/bash
OUTPUT_ZIP="../notebook-explorer-plugin.zip"

echo "📦 Bundling Notebook Explorer plugin..."
zip -r "$OUTPUT_ZIP" . -x "zip-plugin.sh" "*.log" ".DS_Store"

if [ $? -eq 0 ]; then
  echo "✅ Successfully packaged plugin to $OUTPUT_ZIP"
else
  echo "❌ Failed to package plugin"
  exit 1
fi
