All checks were successful
continuous-integration/drone/push Build is passing
19 lines
526 B
PowerShell
19 lines
526 B
PowerShell
$message = Read-Host "Digite a descrição do commit para produção"
|
|
|
|
Write-Host "→ Mudando para a branch 'production'..."
|
|
git checkout production
|
|
|
|
Write-Host "→ Mesclando alterações da branch 'main'..."
|
|
git merge main
|
|
|
|
Write-Host "→ Commitando descrição interativa..."
|
|
git commit --allow-empty -m "$message"
|
|
|
|
Write-Host "→ Enviando para o repositório remoto..."
|
|
git push origin production
|
|
|
|
Write-Host "→ Voltando para a branch 'main'..."
|
|
git checkout main
|
|
|
|
Write-Host "✅ Deploy para produção finalizado!"
|