Fix manifest
This commit is contained in:
@@ -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 = "<Version>(.|\n)*?</Version>";
|
||||
$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
|
||||
|
||||
Reference in New Issue
Block a user