Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0429ad398a | |||
| 268ee1e2e0 | |||
| d19dc0edb5 |
+1
-1
@@ -311,7 +311,7 @@ MON:IIS02:deploy:
|
|||||||
- dotnet restore "$env:SOL_NAME.sln"
|
- dotnet restore "$env:SOL_NAME.sln"
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
needs: ["MON:test"]
|
needs: ["MON:build"]
|
||||||
script:
|
script:
|
||||||
- dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
|
- dotnet publish -p:PublishProfile=IIS02.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
|
||||||
- dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
|
- dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Version>6.15.2204.1416</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -36,5 +37,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\MP.Data\MP.Data.csproj" />
|
<ProjectReference Include="..\MP.Data\MP.Data.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
|
<Exec Command="powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File $(ProjectDir)\post-build.ps1 -ProjectDir $(ProjectDir) -ProjectPath $(ProjectPath)" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -28,6 +28,13 @@
|
|||||||
<a class="dismiss">🗙</a>
|
<a class="dismiss">🗙</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@* Riconnessione server app: https://www.syncfusion.com/faq/how-do-i-reconnect-blazor-server-side-automatically *@
|
||||||
|
<script>
|
||||||
|
Blazor.defaultReconnectionHandler._reconnectCallback = function (d) {
|
||||||
|
document.location.reload();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<script src="_framework/blazor.server.js"></script>
|
<script src="_framework/blazor.server.js"></script>
|
||||||
<script src="lib/Chart.js/chart.js"></script>
|
<script src="lib/Chart.js/chart.js"></script>
|
||||||
<script src="lib/luxon/luxon.js"></script>
|
<script src="lib/luxon/luxon.js"></script>
|
||||||
|
|||||||
@@ -1,18 +1,16 @@
|
|||||||
<body>
|
<body>
|
||||||
<i>Modulo statistiche MAPO</i>
|
<i>Modulo MON MAPO</i>
|
||||||
<h4>Versione: 6.15.2204.1414</h4>
|
<h4>Versione: 6.15.2204.1416</h4>
|
||||||
<br />
|
<br /> Note di rilascio:
|
||||||
Note di rilascio:
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<b>Ultime modifiche:</b>
|
<b>Ultime modifiche:</b>
|
||||||
<ul>{{LAST-CHANGES}}</ul>
|
<ul>{{LAST-CHANGES}}</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b>v.1.* →</b>
|
<b>v.6.15.* →</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Prima release dotnet5</li>
|
<li>Prima release dotnet6</li>
|
||||||
<li>Integrazione EFCore</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6.15.2204.1414
|
6.15.2204.1416
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<item>
|
<item>
|
||||||
<version>6.15.2204.1414</version>
|
<version>6.15.2204.1416</version>
|
||||||
<url>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip</url>
|
<url>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip</url>
|
||||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html</changelog>
|
<changelog>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html</changelog>
|
||||||
<mandatory>false</mandatory>
|
<mandatory>false</mandatory>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
param([string]$ProjectDir, [string]$ProjectPath);
|
||||||
|
|
||||||
|
$FileMajMin = "..\MajMin.vers"
|
||||||
|
$FileVers = "Resources\VersNum.txt"
|
||||||
|
$FileManIn = "Resources\manifest-original.xml"
|
||||||
|
$FileManOut = "Resources\manifest.xml"
|
||||||
|
$FileCLogIn = "Resources\ChangeLog-original.html"
|
||||||
|
$FileCLogOut = "Resources\ChangeLog.html"
|
||||||
|
$MajMin = Get-Content $FileMajMin
|
||||||
|
$currentDate = get-date -format yyMM;
|
||||||
|
$currentTime = get-date -format dHH;
|
||||||
|
$find = "<Version>(.|\n)*?</Version>";
|
||||||
|
$currRelNum = $MajMin + $currentDate +"." + $currentTime
|
||||||
|
$replace = "<Version>" + $MajMin + $currentDate +"." + $currentTime + "</Version>";
|
||||||
|
$csproj = Get-Content $ProjectPath
|
||||||
|
$csprojUpdated = $csproj -replace $find, $replace
|
||||||
|
|
||||||
|
Set-Content -Path $ProjectPath -Value $csprojUpdated
|
||||||
|
Set-Content -Path $FileVers -Value $currRelNum
|
||||||
|
|
||||||
|
# replace x manifest
|
||||||
|
$manData = Get-Content $FileManIn
|
||||||
|
$manData = $manData -replace "1.0.0.0", $currRelNum
|
||||||
|
$manData = $manData -replace "{{DIRNAME}}", "MP-MON"
|
||||||
|
$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST"
|
||||||
|
$manData = $manData -replace "{{PACKNAME}}", "MP.Mon"
|
||||||
|
Set-Content -Path $FileManOut -Value $manData
|
||||||
|
|
||||||
|
# replace x ChangeLog
|
||||||
|
$clogData = Get-Content $FileCLogIn
|
||||||
|
$clogData = $clogData -replace "{{CURRENT-REL}}", $currRelNum
|
||||||
|
Set-Content -Path $FileCLogOut -Value $clogData
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<RootNamespace>MP.Stats</RootNamespace>
|
<RootNamespace>MP.Stats</RootNamespace>
|
||||||
<UserSecretsId>826e877c-ba70-4253-84cb-d0b1cafd4440</UserSecretsId>
|
<UserSecretsId>826e877c-ba70-4253-84cb-d0b1cafd4440</UserSecretsId>
|
||||||
<Version>6.15.2204.1414</Version>
|
<Version>6.15.2204.1416</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<i>Modulo statistiche MAPO</i>
|
<i>Modulo statistiche MAPO</i>
|
||||||
<h4>Versione: 6.15.2204.1414</h4>
|
<h4>Versione: 6.15.2204.1416</h4>
|
||||||
<br />
|
<br />
|
||||||
Note di rilascio:
|
Note di rilascio:
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6.15.2204.1414
|
6.15.2204.1416
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<item>
|
<item>
|
||||||
<version>6.15.2204.1414</version>
|
<version>6.15.2204.1416</version>
|
||||||
<url>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip</url>
|
<url>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip</url>
|
||||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html</changelog>
|
<changelog>https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html</changelog>
|
||||||
<mandatory>false</mandatory>
|
<mandatory>false</mandatory>
|
||||||
|
|||||||
Reference in New Issue
Block a user