Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions create_manifest_file.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $latestBlock = $ExecutionContext.InvokeCommand.ExpandString($latestBlock) | Conv

# Adding new block to the top of the list of released versions.
# TODO: To use the data from the current manifest file and update it.
$versionArray = '[]' | ConvertFrom-Json
$versionArray = @()
$versionArray += $latestBlock

# Removing the oldest version if total count exceeds the max permissible count
Expand All @@ -80,5 +80,5 @@ if($versionArray.Length -gt $maxVersionCount){

# Updating the manifest file
# Keeping Depth as 4, as by default ConvertTo-Json only support conversion till depth 2.
$versionArray | ConvertTo-Json -Depth 4 | Out-File $BuildOutputDir/dab-manifest.json
ConvertTo-Json -Depth 4 $versionArray | Out-File $BuildOutputDir/dab-manifest.json