Skip to content

Commit

Permalink
Update RunVersionController.ps1 (#21186)
Browse files Browse the repository at this point in the history
  • Loading branch information
isra-fel authored Apr 12, 2023
1 parent 3183dbd commit 08139d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/RunVersionController.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ function Bump-AzVersion

Update-ModuleManifest -Path "$PSScriptRoot\Az\Az.psd1" -ModuleVersion $newVersion -ReleaseNotes $releaseNotes
Update-ChangeLog -Content $changeLog -RootPath $rootPath

New-CommandMappingFile

return $versionBump
}

Expand Down Expand Up @@ -336,6 +339,7 @@ function Update-AzPreview

function New-CommandMappingFile
{
# Regenerate the cmdlet-to-module mappings for the recommendation feature of uninstalled modules
$MappingsFilePath = "$PSScriptRoot\..\src\Accounts\Accounts\Utilities\CommandMappings.json"
Write-Host "Generating command mapping file at $MappingsFilePath"
$content = Get-Content $MappingsFilePath | ConvertFrom-Json -Depth 10
Expand Down Expand Up @@ -448,7 +452,5 @@ switch ($PSCmdlet.ParameterSetName)
# Refresh AzPreview.psd1
Update-AzPreview

New-CommandMappingFile

# Generate dotnet csv
&$PSScriptRoot/Docs/GenerateDotNetCsv.ps1 -FeedPsd1FullPath "$PSScriptRoot\AzPreview\AzPreview.psd1"

0 comments on commit 08139d2

Please sign in to comment.