Rename claude-agent to lxc171-claude-agent with full setup documentation
- Rename proxmox/claude-agent/ to proxmox/lxc171-claude-agent/ - Move scripts to scripts/ subdirectory - Add complete installation guide for new LXC from scratch - Update proxmox/README.md with LXC 171 documentation and navigation - Add LXC 171 to containers table - Remove .serena/project.yml Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
31
proxmox/lxc171-claude-agent/scripts/finish-task.sh
Normal file
31
proxmox/lxc171-claude-agent/scripts/finish-task.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Script pentru a finaliza un task (commit + push)
|
||||
|
||||
PROJECT_DIR="/workspace/romfastsql"
|
||||
cd "$PROJECT_DIR" || exit 1
|
||||
|
||||
BRANCH=$(git branch --show-current)
|
||||
|
||||
if [ "$BRANCH" = "main" ]; then
|
||||
echo "❌ Ești pe main! Nu face commit direct pe main."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "📋 Status curent:"
|
||||
git status --short
|
||||
|
||||
echo ""
|
||||
read -p "Mesaj commit: " COMMIT_MSG
|
||||
|
||||
if [ -z "$COMMIT_MSG" ]; then
|
||||
echo "❌ Trebuie să dai un mesaj pentru commit"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git add .
|
||||
git commit -m "$COMMIT_MSG"
|
||||
git push -u origin "$BRANCH"
|
||||
|
||||
echo ""
|
||||
echo "✅ Done! Branch-ul $BRANCH a fost push-uit."
|
||||
echo "🔗 Creează Pull Request în Gitea: https://gitea.romfast.ro/romfast/romfastsql/compare/main...$BRANCH"
|
||||
Reference in New Issue
Block a user