✨ Added automatic version management: - CHANGELOG.md with complete v0.1.0 history - Version control helper script for automated commits - GitHub setup script for easy repository connection - Semantic versioning support (Major.Minor.Patch) 🔄 Future workflow automation: - Automatic changelog updates - Descriptive commit messages - Version tagging for releases - Automatic GitHub pushes 🔧 Generated with Claude Code 🤖 Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
No EOL
1.2 KiB
Bash
Executable file
46 lines
No EOL
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
# GitHub Setup Script for PetBot
|
|
# Run this script after creating your GitHub repository
|
|
|
|
echo "🚀 PetBot GitHub Setup"
|
|
echo "======================"
|
|
|
|
# Check if we're in a git repository
|
|
if [ ! -d ".git" ]; then
|
|
echo "❌ Error: Not in a git repository"
|
|
exit 1
|
|
fi
|
|
|
|
# Ask for GitHub repository URL
|
|
echo "📝 Please enter your GitHub repository URL:"
|
|
echo " (e.g., https://github.com/yourusername/petbot-irc-game.git)"
|
|
read -p "URL: " REPO_URL
|
|
|
|
if [ -z "$REPO_URL" ]; then
|
|
echo "❌ Error: No URL provided"
|
|
exit 1
|
|
fi
|
|
|
|
# Add remote origin
|
|
echo "🔗 Adding GitHub remote..."
|
|
git remote add origin "$REPO_URL"
|
|
|
|
# Push to GitHub
|
|
echo "⬆️ Pushing to GitHub..."
|
|
git push -u origin main
|
|
|
|
# Push tags
|
|
echo "🏷️ Pushing tags..."
|
|
git push --tags
|
|
|
|
echo "✅ Setup complete!"
|
|
echo ""
|
|
echo "🎯 Your repository is now on GitHub:"
|
|
echo " Repository: $REPO_URL"
|
|
echo " Current version: v0.1.0"
|
|
echo ""
|
|
echo "🔄 Future updates will be automatic:"
|
|
echo " - Claude will commit changes with descriptive messages"
|
|
echo " - Changelog will be updated automatically"
|
|
echo " - Version tags will be created for releases"
|
|
echo " - All changes will be pushed to GitHub" |