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