Skip to content

Commit d9caa5c

Browse files
committed
novas mudancas com --version em build
1 parent 60a4493 commit d9caa5c

File tree

58 files changed

+201
-1554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+201
-1554
lines changed

.github/workflows/DFe.NET_build.yml

+26-20
Original file line numberDiff line numberDiff line change
@@ -32,39 +32,45 @@ jobs:
3232

3333
- name: Build/Restore Base
3434
run: |
35-
dotnet build ".\DFe.Classes\DFe.Classes.csproj" -c "Release"
36-
dotnet build ".\DFe.Utils\DFe.Utils.csproj" -c "Release"
37-
dotnet build ".\DFe.Wsdl\DFe.Wsdl.csproj" -c "Release"
35+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\DFe.Classes\DFe.Classes.csproj" -c "Release"
36+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\DFe.Utils\DFe.Utils.csproj" -c "Release"
37+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\DFe.Wsdl\DFe.Wsdl.csproj" -c "Release"
3838
- name: Build/Restore NFe
3939
run: |
40-
dotnet build ".\NFe.Classes\NFe.Classes.csproj" -c "Release"
41-
dotnet build ".\NFe.Servicos\NFe.Servicos.csproj" -c "Release"
42-
dotnet build ".\NFe.Utils\NFe.Utils.csproj" -c "Release"
43-
dotnet build ".\NFe.Wsdl\NFe.Wsdl.csproj" -c "Release"
44-
dotnet build ".\NFe.Wsdl.Standard\NFe.Wsdl.Standard.csproj" -c "Release"
40+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Classes\NFe.Classes.csproj" -c "Release"
41+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Servicos\NFe.Servicos.csproj" -c "Release"
42+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Utils\NFe.Utils.csproj" -c "Release"
43+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Wsdl\NFe.Wsdl.csproj" -c "Release"
44+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Wsdl.Standard\NFe.Wsdl.Standard.csproj" -c "Release"
4545
4646
- name: Build/Restore MDFe
4747
run: |
48-
dotnet build ".\MDFe.Classes\MDFe.Classes.csproj" -c "Release"
49-
dotnet build ".\MDFe.Servicos\MDFe.Servicos.csproj" -c "Release"
50-
dotnet build ".\MDFe.Utils\MDFe.Utils.csproj" -c "Release"
51-
dotnet build ".\MDFe.Wsdl\MDFe.Wsdl.csproj" -c "Release"
48+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\MDFe.Classes\MDFe.Classes.csproj" -c "Release"
49+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\MDFe.Servicos\MDFe.Servicos.csproj" -c "Release"
50+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\MDFe.Utils\MDFe.Utils.csproj" -c "Release"
51+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\MDFe.Wsdl\MDFe.Wsdl.csproj" -c "Release"
5252
5353
- name: Build/Restore MDFe
5454
run: |
55-
dotnet build ".\CTe.Classes\CTe.Classes.csproj" -c "Release"
56-
dotnet build ".\CTe.Servicos\CTe.Servicos.csproj" -c "Release"
57-
dotnet build ".\CTe.Utils\CTe.Utils.csproj" -c "Release"
58-
dotnet build ".\CTe.Wsdl\CTe.Wsdl.csproj" -c "Release"
55+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Classes\CTe.Classes.csproj" -c "Release"
56+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Servicos\CTe.Servicos.csproj" -c "Release"
57+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Utils\CTe.Utils.csproj" -c "Release"
58+
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Wsdl\CTe.Wsdl.csproj" -c "Release"
5959
6060
#- name: Test
6161
# run: dotnet test --no-build --verbosity normal
6262

63-
- name: Pack Zeus.Net.NFe.NFCe
64-
run: dotnet pack -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.NFe.NFCe\Zeus.Net.NFe.NFCe.csproj
63+
- name: Pack
64+
run: |
65+
dotnet pack -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.NFe.NFCe\Zeus.Net.NFe.NFCe.csproj
66+
dotnet pack -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.MDFe\Zeus.Net.MDFe.csproj
67+
dotnet pack -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.CTe\Zeus.Net.CTe.csproj
6568
66-
- name: Upload Artifact Zeus.Net.NFe.NFCe
69+
- name: Upload Artifacts
6770
uses: actions/upload-artifact@v3
6871
with:
6972
name: nupkg
70-
path: NuGet/**/bin/Release/*.nupkg
73+
path: |
74+
NuGet/Zeus.Net.NFe.NFCe/bin/Release/Zeus.Net.NFe.NFCe.nupkg
75+
NuGet/Zeus.Net.MDFe/bin/Release/Zeus.Net.MDFe.nupkg
76+
NuGet/Zeus.Net.CTe/bin/Release/Zeus.Net.CTe.nupkg

.github/workflows/DFe.NET_build_old.yml

-108
This file was deleted.

CTe.AppTeste/Properties/AssemblyInfo.cs

-53
This file was deleted.

CTe.Classes/Properties/AssemblyInfo.cs

-35
This file was deleted.

CTe.Dacte.AppTeste/Properties/AssemblyInfo.cs

-35
This file was deleted.

CTe.Servicos/Properties/AssemblyInfo.cs

-35
This file was deleted.

CTe.Utils/Properties/AssemblyInfo.cs

-35
This file was deleted.

0 commit comments

Comments
 (0)