v1.0.63 Backend / v1.0.57 Frontend - Edición y auditoría de preguntas

This commit is contained in:
2025-11-27 01:30:34 -03:00
parent da2469b39e
commit 1e5ba305ae

View File

@@ -1,24 +1,28 @@
Clear-Host Clear-Host
# Pedir mensaje de commit (con soporte para saltos de línea) Write-Host "Opciones de commit:" -ForegroundColor Cyan
Write-Host "Ingrese el mensaje de commit (presione Enter dos veces para finalizar):" Write-Host "1. Pegar mensaje de commit (recomendado para mensajes largos)"
Write-Host "2. Escribir mensaje simple"
Write-Host "" Write-Host ""
$lineas = @() $opcion = Read-Host "Seleccione una opción (1/2)"
do {
$linea = Read-Host
if ($linea -ne "") {
$lineas += $linea
}
} while ($linea -ne "")
$mensaje = $lineas -join "`n" if ($opcion -eq "1") {
Write-Host "`nPASTE su mensaje de commit y presione CTRL+Z seguido de ENTER:" -ForegroundColor Yellow
$mensaje = @()
while ($line = Read-Host) {
$mensaje += $line
}
$mensajeFinal = $mensaje -join "`n"
} else {
$mensajeFinal = Read-Host "`nIngrese el mensaje de commit"
}
Write-Host "`nAgregando archivos..." Write-Host "`nAgregando archivos..."
git add . git add .
Write-Host "Creando commit..." Write-Host "Creando commit..."
git commit -m "$mensaje" git commit -m $mensajeFinal
Write-Host "Haciendo push a la rama develop..." Write-Host "Haciendo push a la rama develop..."
$pushOutput = git push origin develop 2>&1 $pushOutput = git push origin develop 2>&1