From 7f80aeb844853ae7286617222a6ddf01d6b37179 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Mon, 25 Mar 2024 22:48:52 -0300 Subject: [PATCH] Atualizado GitActions e Java Certificado --- .github/workflows/release.yml | 12 ++++++++---- CHANGELOG.md | 3 ++- README.md | 10 +++++++--- pom.xml | 2 +- .../com/swconsultoria/nfe/dom/ConfiguracoesNfe.java | 4 ++-- 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8cd29118..d8da74b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,12 +33,16 @@ jobs: timezoneMacos: "America/Sao_Paulo" timezoneWindows: "America/Sao_Paulo" - name: Criando executavel - run: mvn -B package -Passembly --file pom.xml + run: | + mvn versions:set -DnewVersion=${{github.ref_name}} + mvn -B compile -Passembly --file pom.xml + - name: Criando pasta para Zip run: mkdir java-nfe && cp target/*.jar java-nfe && cp schemas.zip java-nfe - uses: montudor/action-zip@v1 with: - args: zip -qq -r java-nfe.zip java-nfe + args: zip -qq -r java-nfe-${{github.ref_name}}.zip java-nfe + - name: Criando release uses: actions/create-release@v1 id: create_release @@ -56,6 +60,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./java-nfe.zip - asset_name: java-nfe.zip + asset_path: ./java-nfe-${{github.ref_name}}.zip + asset_name: java-nfe-${{github.ref_name}}.zip asset_content_type: application/zip diff --git a/CHANGELOG.md b/CHANGELOG.md index a49e48d1..a101a480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ # Notas de versão -- Atualizado Java Certificado \ No newline at end of file +- Atualizado Java Certificado + - Correcao Null Pointer quando Lista Repositorio Windows. \ No newline at end of file diff --git a/README.md b/README.md index 5a5df33d..f40df358 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.30/jar) +# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.31/jar) Biblioteca Java para consumo do WebService de NFe/NFCe ## Dúvidas, Sugestões ou Consultoria @@ -17,7 +17,7 @@ Para Iniciar : br.com.swconsultoria java-nfe - 4.00.30 + 4.00.31 ``` @@ -29,7 +29,7 @@ repositories { } } dependencies { - implementation "br.com.swconsultoria:java-nfe:4.00.30" + implementation "br.com.swconsultoria:java-nfe:4.00.31" } ``` @@ -39,6 +39,10 @@ ________________________________________________________________________________ # Historico de Versões +## v4.00.31 - 25/03/2024 - Schemas PL.009k +- Atualizado Java Certificado + - Correcao Null Pointer quando Lista Repositorio Windows. + ## v4.00.30 - 20/03/2024 - Schemas PL.009k - Atualizado Java Certificado - Atualizado Cacert MT e MS (De novo) diff --git a/pom.xml b/pom.xml index 5819b8b5..d057ceb2 100644 --- a/pom.xml +++ b/pom.xml @@ -84,7 +84,7 @@ br.com.swconsultoria java_certificado - 3.3 + 3.4 diff --git a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java index 8a859190..92eb1d3f 100644 --- a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java +++ b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java @@ -109,8 +109,8 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn log.info(String.format("JAVA-NFE | Samuel Oliveira | samuel@swconsultoria.com.br " + "| VERSAO=%s | DATA_VERSAO=%s | PASTA_SCHEMAS=%s | AMBIENTE=%s | ESTADO=%s", - "4.00.30", - "20/03/2024", + "4.00.31", + "25/03/2024", pastaSchemas, ambiente, estado.getNome().toUpperCase()));