refresh progetto x nuget

This commit is contained in:
Samuele Locatelli
2023-02-02 12:04:42 +01:00
parent f217a4f92a
commit 254c1e9afd
3 changed files with 12 additions and 35 deletions
+3
View File
@@ -339,3 +339,6 @@ Egw.Core.Razor.Test/obj/*/*
Egw.Core.Razor.Test/obj/*/*/*
Egw.Core.Razor.Test/obj/Debug/*
Egw.Core.Razor.Test/obj/Debug/net6.0/*
Egw.Core.Razor.Test/obj/Debug/net6.0/project.razor.vs.json
Egw.Core.Razor.Test/obj/Egw.Core.Razor.Test.csproj.nuget.dgspec.json
Egw.Core.Razor.Test/obj/project.assets.json
-24
View File
@@ -100,30 +100,6 @@ Egw.Core.Razor.Comp:staging:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
- dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
# ---------- DEPLOY ----------
Egw.Core.Razor.Comp:deploy:
stage: deploy
tags:
- win
# environment:
# name: production
# url: https://iis03.egalware.com/GPW/CORE.Smart
variables:
APP_NAME: Egw.Core.Razor.Comp
SOL_NAME: Egw.Core.Razor.Comp
only:
- main
needs: ["Egw.Core.Razor.Comp:build"]
before_script:
- *nuget-fix
- dotnet restore "$env:SOL_NAME.sln"
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
# IIS 02
- dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
# IIS 03
- dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
# ---------- RELEASE ----------
Egw.Core.Razor.Comp:release:
stage: release
+9 -11
View File
@@ -4,6 +4,15 @@
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PackageId>Egw.Core.Razor.Comp</PackageId>
<Version>0.9.0.0</Version>
<Authors>S.E. Locatelli, Z.Majid</Authors>
<Company>EgalWare</Company>
<Description>Libreria componenti Razor/Blazor</Description>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>Prima versione</releaseNotes>
<copyright>2022+ EgalWare</copyright>
<tags>Egw.Core Razor Blazor</tags>
</PropertyGroup>
<ItemGroup>
@@ -14,20 +23,9 @@
</ItemGroup>
<ItemGroup>
<Compile Remove="CircleGauge_2.razor.cs" />
</ItemGroup>
<ItemGroup>
<Content Remove="CircleGauge_2.razor" />
<Content Remove="compilerconfig.json" />
</ItemGroup>
<ItemGroup>
<None Remove="CircleGauge_2.razor.css" />
<None Remove="CircleGauge_2.razor.less" />
<None Remove="CircleGauge_2.razor.min.css" />
</ItemGroup>
<ItemGroup>
<None Include="compilerconfig.json" />
</ItemGroup>