Skip to content

Commit

Permalink
Atualizado GitActions e Java Certificado
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Oliveira committed Mar 26, 2024
1 parent 2985817 commit 7f80aeb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Notas de versão

- Atualizado Java Certificado
- Atualizado Java Certificado
- Correcao Null Pointer quando Lista Repositorio Windows.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -17,7 +17,7 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.30</version>
<version>4.00.31</version>
</dependency>
```

Expand All @@ -29,7 +29,7 @@ repositories {
}
}
dependencies {
implementation "br.com.swconsultoria:java-nfe:4.00.30"
implementation "br.com.swconsultoria:java-nfe:4.00.31"
}
```

Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java_certificado</artifactId>
<version>3.3</version>
<version>3.4</version>
</dependency>
<!-- Ini4J -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn

log.info(String.format("JAVA-NFE | Samuel Oliveira | [email protected] " +
"| 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()));
Expand Down

0 comments on commit 7f80aeb

Please sign in to comment.