Skip to content

Commit

Permalink
chore: prepara para versão 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
caduvieira committed Apr 11, 2024
1 parent 039ce64 commit b22ccdb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PENIntegracao.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

// Identificação da versão do módulo. Este deverá ser atualizado e sincronizado com constante VERSAO_MODULO
define("VERSAO_MODULO_PEN", "3.6.0");
define("VERSAO_MODULO_PEN", "3.7.0");

class PENIntegracao extends SeiIntegracao
{
Expand Down
6 changes: 6 additions & 0 deletions src/scripts/sei_atualizar_versao_modulo_pen.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ protected function atualizarVersaoConectado()
$this->instalarV3050();
case '3.5.0':
$this->instalarV3060();
case '3.6.0':
$this->instalarV3070();

break; // Ausência de [break;] proposital para realizar a atualização incremental de versões
default:
Expand Down Expand Up @@ -2784,6 +2786,10 @@ protected function instalarV3060()

$this->atualizarNumeroVersao("3.6.0");
}

protected function instalarV3070(){
$this->atualizarNumeroVersao("3.7.0");
}
}

try {
Expand Down
9 changes: 8 additions & 1 deletion src/scripts/sip_atualizar_versao_modulo_pen.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

// Identificação da versão do módulo mod-sei-pen. Este deve estar sempre sincronizado com a versão definida em PENIntegracao.php
define("VERSAO_MODULO_PEN", "3.6.0");
define("VERSAO_MODULO_PEN", "3.7.0");

$dirSipWeb = !defined("DIR_SIP_WEB") ? getenv("DIR_SIP_WEB") ?: __DIR__ . "/../../web" : DIR_SIP_WEB;
require_once $dirSipWeb . '/Sip.php';
Expand Down Expand Up @@ -294,6 +294,8 @@ protected function atualizarVersaoConectado()
$this->instalarV3050();
case '3.5.0':
$this->instalarV3060();
case '3.6.0':
$this->instalarV3070();

break; // Ausência de [break;] proposital para realizar a atualização incremental de versões
default:
Expand Down Expand Up @@ -2067,6 +2069,11 @@ protected function instalarV3060()
$this->atualizarNumeroVersao("3.6.0");
}

protected function instalarV3070()
{
$this->atualizarNumeroVersao("3.7.0");
}

/**
* Cadastrar item do menu em um perfil expecifico
*
Expand Down

0 comments on commit b22ccdb

Please sign in to comment.