Add version control and changelog system

 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>
This commit is contained in:
megaproxy 2025-07-14 00:01:54 +01:00
parent 47f160a295
commit e0edcb391a
3 changed files with 246 additions and 0 deletions

46
setup-github.sh Executable file
View file

@ -0,0 +1,46 @@
#!/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"