#!/bin/bash
# Push token lists and prepare for submission

set -e

echo "🚀 Pushing token lists to repository..."
echo ""

# Push commits
echo "Pushing commits..."
git push

# Push tags
echo "Pushing tags..."
git push --tags

echo ""
echo "✅ Pushed successfully!"
echo ""
echo "📋 Next Steps:"
echo ""
echo "1. Verify GitHub Raw URLs:"
echo "   - https://raw.githubusercontent.com/{user}/{repo}/main/token-lists/lists/dbis-138.tokenlist.json"
echo "   - https://raw.githubusercontent.com/{user}/{repo}/main/token-lists/lists/ethereum-mainnet.tokenlist.json"
echo "   - https://raw.githubusercontent.com/{user}/{repo}/main/token-lists/lists/all-mainnet.tokenlist.json"
echo ""
echo "2. Sign token lists (optional):"
echo "   cd token-lists"
echo "   ./scripts/sign-list.sh sign lists/dbis-138.tokenlist.json"
echo ""
echo "3. Submit to Uniswap Token Lists:"
echo "   - Fork: https://github.com/Uniswap/token-lists"
echo "   - Add token lists"
echo "   - Create PRs"
echo ""
echo "4. Submit to MetaMask:"
echo "   - Add token list URLs in MetaMask Settings"
echo ""
