Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not generate CommandMappingFile for OOB #21186

Merged
merged 1 commit into from
Apr 12, 2023
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
Update RunVersionController.ps1
  • Loading branch information
isra-fel authored Mar 13, 2023
commit 1f0b03874a21a4bf202e63565307464030877298
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"