File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,9 @@ function Bump-AzVersion
296
296
297
297
Update-ModuleManifest - Path " $PSScriptRoot \Az\Az.psd1" - ModuleVersion $newVersion - ReleaseNotes $releaseNotes
298
298
Update-ChangeLog - Content $changeLog - RootPath $rootPath
299
+
300
+ New-CommandMappingFile
301
+
299
302
return $versionBump
300
303
}
301
304
@@ -336,6 +339,7 @@ function Update-AzPreview
336
339
337
340
function New-CommandMappingFile
338
341
{
342
+ # Regenerate the cmdlet-to-module mappings for the recommendation feature of uninstalled modules
339
343
$MappingsFilePath = " $PSScriptRoot \..\src\Accounts\Accounts\Utilities\CommandMappings.json"
340
344
Write-Host " Generating command mapping file at $MappingsFilePath "
341
345
$content = Get-Content $MappingsFilePath | ConvertFrom-Json - Depth 10
@@ -448,7 +452,5 @@ switch ($PSCmdlet.ParameterSetName)
448
452
# Refresh AzPreview.psd1
449
453
Update-AzPreview
450
454
451
- New-CommandMappingFile
452
-
453
455
# Generate dotnet csv
454
456
& $PSScriptRoot / Docs/ GenerateDotNetCsv.ps1 - FeedPsd1FullPath " $PSScriptRoot \AzPreview\AzPreview.psd1"
You can’t perform that action at this time.
0 commit comments