7 Commits

Author SHA1 Message Date
af9ea44b95 VERSION 5.12.17
- Se agrego codigo para que el label de la notificacion tenga scroll vertical y se vaya al inicio del texto
2025-12-20 02:42:47 -06:00
426e8b0c87 VERSION 5.12.16
- Se agrego codigo para que el label de la notificacion tenga scroll vertical y se vaya al inicio del texto
2025-12-20 02:38:30 -06:00
5124f6c5a1 VERSION 5.12.16
- Se agrego codigo para que el label de la notificacion tenga scroll vertical y se vaya al inicio del texto
2025-12-20 02:30:16 -06:00
4e69087ff2 Version 5.12.16 2025-12-20 02:27:17 -06:00
4a5fc4dd05 Version 5.12.16 2025-12-20 02:23:30 -06:00
64a80661e8 Version 5.12.16
- Se agregó comando y script para enviar automáticamente el TAG con la version actual a GitHub.
2025-12-20 02:15:07 -06:00
96838bf61b VERSION 5.12.16
- Se agregó comando y script para enviar automáticamente el TAG con la version actual a GitHub.
2025-12-20 02:11:40 -06:00
4 changed files with 11 additions and 4 deletions

View File

@@ -18,7 +18,9 @@ Version=9.85
'###################### PUSH TORTOISE GIT ######################################################### '###################### PUSH TORTOISE GIT #########################################################
'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../../"&Args=/closeonend:2 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../../"&Args=/closeonend:2
'########################################################################################################### '###########################################################################################################
'###################### PUSH TORTOISE GIT CON TAG ##################################################
'Ctrl + clic para Git: ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=-ExecutionPolicy&Args=Bypass&Args=-File&Args=..\_git_tag.ps1&Args=%22%PROJECT%%22&Args=%22%PROJECT_NAME%%22 'Ctrl + clic para Git: ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=-ExecutionPolicy&Args=Bypass&Args=-File&Args=..\_git_tag.ps1&Args=%22%PROJECT%%22&Args=%22%PROJECT_NAME%%22
'###########################################################################################################
#End Region #End Region
'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ 'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\

View File

@@ -917,7 +917,7 @@ Version=12.8
#Region Project Attributes #Region Project Attributes
#ApplicationLabel: Kelloggs Venta #ApplicationLabel: Kelloggs Venta
#VersionCode: 3000 #VersionCode: 3000
#VersionName: 5.12.15.test #VersionName: 5.12.17
#SupportedOrientations: portrait #SupportedOrientations: portrait
#CanInstallToExternalStorage: False #CanInstallToExternalStorage: False
#BridgeLogger:true #BridgeLogger:true

View File

@@ -100,6 +100,6 @@ ModuleClosedNodes6=
ModuleClosedNodes7= ModuleClosedNodes7=
ModuleClosedNodes8= ModuleClosedNodes8=
ModuleClosedNodes9= ModuleClosedNodes9=
NavigationStack=C_Principal,cargar_Click,1031,0,Subs,modTrendSpending,2210,3,C_TrendSpending,modTrendSpending,112,2,C_Productos,B4XPage_Appear,236,0,C_TrendSpending,traeDescXSku,59,0,C_TrendSpending,traeInfoTrendSpending,73,2,C_Principal,JobDone,2240,0,Main,Activity_Create,43,0,B4XMainPage,Class_Globals,119,0,B4XMainPage,Initialize,127,0 NavigationStack=C_Principal,cargar_Click,1031,0,Subs,modTrendSpending,2210,3,C_TrendSpending,modTrendSpending,112,2,C_Productos,B4XPage_Appear,236,0,C_TrendSpending,traeDescXSku,59,0,C_TrendSpending,traeInfoTrendSpending,73,2,C_Principal,JobDone,2240,0,Main,Activity_Create,43,0,B4XMainPage,Class_Globals,119,0,B4XMainPage,Initialize,129,0
SelectedBuild=0 SelectedBuild=0
VisibleModules=31,1,12,3,32,13,14,20,19,33,16 VisibleModules=31,1,12,3,32,13,14,20,19,33

View File

@@ -43,7 +43,7 @@ Write-Host "Abriendo TortoiseGit..."
# Argumentos limpios # Argumentos limpios
$pathArg = '/path:"{0}"' -f $projectPath $pathArg = '/path:"{0}"' -f $projectPath
$msgArg = '/logmsg:"Version {0}"' -f $version $msgArg = '/logmsg:"VERSION {0}"' -f $version
$cmdArg = "/command:commit" $cmdArg = "/command:commit"
$process = Start-Process "TortoiseGitProc.exe" -ArgumentList $cmdArg, $pathArg, $msgArg -Wait -PassThru $process = Start-Process "TortoiseGitProc.exe" -ArgumentList $cmdArg, $pathArg, $msgArg -Wait -PassThru
@@ -53,17 +53,20 @@ $newCommit = git rev-parse HEAD
# 5. VALIDACIÓN # 5. VALIDACIÓN
if ($oldCommit -eq $newCommit) { if ($oldCommit -eq $newCommit) {
Write-Warning "Commit cancelado." Write-Warning "Commit cancelado."
git tag -d $tagName 2>$null # Borra tag local previo si existe para actualizarlo al nuevo commit
return return
} }
Write-Host ">> Commit detectado." Write-Host ">> Commit detectado."
# 6. GESTIÓN DE TAGS (VISUAL TOPMOST) # 6. GESTIÓN DE TAGS (VISUAL TOPMOST)
Write-Host "git ls-remote --tags origin $tagName"
$remoteTagInfo = git ls-remote --tags origin $tagName $remoteTagInfo = git ls-remote --tags origin $tagName
if ($remoteTagInfo) { if ($remoteTagInfo) {
# --- TRUCO PARA QUE LA VENTANA SALGA AL FRENTE --- # --- TRUCO PARA QUE LA VENTANA SALGA AL FRENTE ---
# Creamos un formulario invisible que esté "Siempre Visible" (TopMost) # Creamos un formulario invisible que esté "Siempre Visible" (TopMost)
Write-Host "Recibimos remoteTagInfo"
$topForm = New-Object System.Windows.Forms.Form $topForm = New-Object System.Windows.Forms.Form
$topForm.TopMost = $true $topForm.TopMost = $true
$topForm.Opacity = 0 # Invisible $topForm.Opacity = 0 # Invisible
@@ -72,12 +75,14 @@ if ($remoteTagInfo) {
$topForm.Show() $topForm.Show()
$topForm.Activate() $topForm.Activate()
[System.Console]::Beep(1000, 200)
[System.Console]::Beep(1000, 200) [System.Console]::Beep(1000, 200)
$msgBody = "El tag '$tagName' YA EXISTE en GitHub.`n`nDeseas SOBRESCRIBIRLO?`n`nSi = Borrar anterior y actualizar (Force Push).`nNo = Subir solo codigo (mantener tag viejo)." $msgBody = "El tag '$tagName' YA EXISTE en GitHub.`n`nDeseas SOBRESCRIBIRLO?`n`nSi = Borrar anterior y actualizar (Force Push).`nNo = Subir solo codigo (mantener tag viejo)."
$msgTitle = "⚠️ Conflicto de Versiones - $projectName" $msgTitle = "⚠️ Conflicto de Versiones - $projectName"
# El mensaje ahora es "hijo" del formulario invisible, heredando su propiedad TopMost # El mensaje ahora es "hijo" del formulario invisible, heredando su propiedad TopMost
Write-Host "Preguntamos que hacer con el tag"
$respuesta = [System.Windows.Forms.MessageBox]::Show($topForm, $msgBody, $msgTitle, "YesNo", "Warning") $respuesta = [System.Windows.Forms.MessageBox]::Show($topForm, $msgBody, $msgTitle, "YesNo", "Warning")
$topForm.Dispose() # Limpiamos el formulario invisible $topForm.Dispose() # Limpiamos el formulario invisible