1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# 📤 Como Publicar no GitHub - SIMPLES
## 🚀 Método Rápido (3 comandos)
### Windows
```bash
# 1. Execute o script
git-push.bat
# Pronto! Tudo foi enviado para o GitHub
```
### Linux/macOS
```bash
# 1. Dê permissão
chmod +x git-push.sh
# 2. Execute o script
./git-push.sh
# Pronto! Tudo foi enviado para o GitHub
```
## 📝 O que o script faz?
1. ✅ Adiciona todos os arquivos (`git add .`)
2. ✅ Cria commit com mensagem completa
3. ✅ Envia para GitHub (`git push`)
4. ✅ Cria tag v0.2.8
5. ✅ Envia a tag
## 🎯 Método Manual (se preferir)
```bash
# 1. Adicionar arquivos
git add .
# 2. Commit
git commit -m "Release v0.2.8 - Editor Visual + Sistemas de Jogo"
# 3. Push
git push origin main
# 4. Tag
git tag -a v0.2.8 -m "Release v0.2.8"
git push origin v0.2.8
```
## 🌐 Criar Release no GitHub
1. Acesse: `https://github.com/seu-usuario/SevenX-Engine`
2. Clique em **Releases**
3. Clique em **Create a new release**
4. Tag: `v0.2.8`
5. Title: `SevenX Engine v0.2.8 - Editor Visual`
6. Copie a descrição de [GITHUB_RELEASE.md](GITHUB_RELEASE.md)
7. Clique em **Publish release**
## 📦 Anexar Binários (Opcional)
Se quiser disponibilizar o editor compilado:
```bash
# Compilar
cargo build --bin sevenx-editor --release
# O executável está em:
target/release/sevenx-editor.exe # Windows
target/release/sevenx-editor # Linux/macOS
# Comprima em ZIP e anexe no release
```
## 🎉 Pronto!
Seu código está no GitHub! 🚀
### Verificar
Acesse: `https://github.com/seu-usuario/SevenX-Engine`
Você deve ver:
- ✅ Todos os arquivos
- ✅ Commit mais recente
- ✅ Tag v0.2.8
- ✅ Release (se criou)
## 🐛 Problemas?
### "fatal: not a git repository"
```bash
# Inicialize o Git
git init
git remote add origin https://github.com/seu-usuario/SevenX-Engine.git
```
### "Permission denied"
```bash
# Configure suas credenciais
git config --global user.name "Seu Nome"
git config --global user.email "seu@email.com"
```
### "failed to push"
```bash
# Puxe as mudanças primeiro
git pull origin main --rebase
git push origin main
```
## 📚 Próximos Passos
1. ✅ Código no GitHub
2. ✅ Criar Release (opcional)
3. ✅ Publicar no crates.io: `cargo publish`
4. ✅ Divulgar nas redes sociais
---
**Dúvidas?** Veja [GITHUB_RELEASE.md](GITHUB_RELEASE.md) para mais detalhes!