diff --git a/MP-TAB-SERV/Resources/ChangeLog-original.html b/MP-TAB-SERV/Resources/ChangeLog-original.html new file mode 100644 index 00000000..a2420fb9 --- /dev/null +++ b/MP-TAB-SERV/Resources/ChangeLog-original.html @@ -0,0 +1,25 @@ + + Modulo MAPOSPEC +

Versione: {{CURRENT-REL}}

+
Note di rilascio: + +
+
+ +
+
+ © Steamware 2006-2023 +
+
+ \ No newline at end of file diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html new file mode 100644 index 00000000..36d1c0ed --- /dev/null +++ b/MP-TAB-SERV/Resources/ChangeLog.html @@ -0,0 +1,25 @@ + + Modulo MAPOSPEC +

Versione: 6.16.2310.417

+
Note di rilascio: + +
+
+ +
+
+ © Steamware 2006-2023 +
+
+ diff --git a/MP-TAB-SERV/Resources/VersNum.txt b/MP-TAB-SERV/Resources/VersNum.txt new file mode 100644 index 00000000..d0a2ae0c --- /dev/null +++ b/MP-TAB-SERV/Resources/VersNum.txt @@ -0,0 +1 @@ +6.16.2310.417 diff --git a/MP-TAB-SERV/Resources/logoSteamware.png b/MP-TAB-SERV/Resources/logoSteamware.png new file mode 100644 index 00000000..0958b50a Binary files /dev/null and b/MP-TAB-SERV/Resources/logoSteamware.png differ diff --git a/MP-TAB-SERV/Resources/manifest-original.xml b/MP-TAB-SERV/Resources/manifest-original.xml new file mode 100644 index 00000000..f95e0763 --- /dev/null +++ b/MP-TAB-SERV/Resources/manifest-original.xml @@ -0,0 +1,7 @@ + + + 1.0.0.0 + https://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/{{PACKNAME}}.zip + https://nexus.steamware.net/repository/SWS/{{DIRNAME}}/{{BRANCHNAME}}/ChangeLog.html + false + diff --git a/MP-TAB-SERV/Resources/manifest.xml b/MP-TAB-SERV/Resources/manifest.xml new file mode 100644 index 00000000..1a8d855f --- /dev/null +++ b/MP-TAB-SERV/Resources/manifest.xml @@ -0,0 +1,7 @@ + + + 6.16.2310.417 + https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip + https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html + false + diff --git a/MP-TAB-SERV/post-build.ps1 b/MP-TAB-SERV/post-build.ps1 index a4a99b9d..6c219b04 100644 --- a/MP-TAB-SERV/post-build.ps1 +++ b/MP-TAB-SERV/post-build.ps1 @@ -1,16 +1,16 @@ param([string]$ProjectDir, [string]$ProjectPath); -$MainVers="..\Resources\MainVers.txt" -$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 $MainVers #"0.9." +$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 ddHH; +$currentTime = get-date -format dHH; $find = "(.|\n)*?"; -$currRelNum=$MajMin + $currentDate +"." + $currentTime +$currRelNum = $MajMin + $currentDate +"." + $currentTime $replace = "" + $MajMin + $currentDate +"." + $currentTime + ""; $csproj = Get-Content $ProjectPath $csprojUpdated = $csproj -replace $find, $replace @@ -21,9 +21,9 @@ 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}}", "WDC" -$manData = $manData -replace "{{BRANCHNAME}}", "stable" -$manData = $manData -replace "{{PACKNAME}}", "WDC.UI" +$manData = $manData -replace "{{DIRNAME}}", "MP-TAB-SERV" +$manData = $manData -replace "{{BRANCHNAME}}", "stable/LAST" +$manData = $manData -replace "{{PACKNAME}}", "MP-TAB-SERV" Set-Content -Path $FileManOut -Value $manData # replace x ChangeLog