From ab017a1cbcbc67b29525151daa4fdaf90a5b49de Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 10 Apr 2024 15:39:29 +0200 Subject: [PATCH] Fix manifest --- Maat.Runner/post-build.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Maat.Runner/post-build.ps1 b/Maat.Runner/post-build.ps1 index fd983b4..f7be68e 100644 --- a/Maat.Runner/post-build.ps1 +++ b/Maat.Runner/post-build.ps1 @@ -8,6 +8,7 @@ $FileManOut="..\Resources\manifest.xml" $FileCLogIn="..\Resources\ChangeLog-original.html" $FileCLogOut="..\Resources\ChangeLog.html" $currentDate = get-date -format yyMM; +$currentYear = get-date -format yyyy; $currentTime = get-date -format ddHH; $find = "(.|\n)*?"; $currRelNum=$MajMin + $currentDate +"." + $currentTime @@ -21,9 +22,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}}", "MagMan" -$manData = $manData -replace "{{BRANCHNAME}}", "stable/0" -$manData = $manData -replace "{{PACKNAME}}", "MagMan.UI" +$manData = $manData -replace "{{DIRNAME}}", "Maat.Installer" +$manData = $manData -replace "{{BRANCHNAME}}", "LAST" +$manData = $manData -replace "{{PACKNAME}}", "Maat.Installer" Set-Content -Path $FileManOut -Value $manData # replace x ChangeLog