Skip to content

Commit e50e8ec

Browse files
authored
[ENG] Add log for version controller (#27292)
1 parent 4c0b88e commit e50e8ec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/BreakingChanges/GetUpcomingBreakingChange.ps1 renamed to tools/BreakingChanges/GetUpcomingBreakingChange.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Function Export-AllBreakingChangeMessageUnderArtifacts
6363
$AllModuleList = Get-ChildItem -Path $ArtifactsPath -Filter Az.* | ForEach-Object { $_.Name }
6464
ForEach ($ModuleName In $AllModuleList)
6565
{
66+
Write-Host "Generating breaking change message for $ModuleName"
6667
if ($ModuleName -ne "Az.Monitor")
6768
{
6869
$Result += Export-BreakingChangeMessageOfModule -ArtifactsPath $ArtifactsPath -ModuleName $ModuleName

tools/RunVersionController.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ function Update-AzSyntaxChangelog
404404
$newContent = $changeLog + "`r`n" + $currentContent
405405
Set-Content -Path $targetFile -Value $newContent
406406
Remove-Item -Path $syntaxChangeLog
407+
Write-Host "SyntaxChangeLog revising completed."
407408
}
408409

409410
function New-CommandMappingFile
@@ -516,7 +517,7 @@ switch ($PSCmdlet.ParameterSetName)
516517
# We need to generate the upcoming-breaking-changes.md after the process of bump version in minor release
517518
if ([PSVersion]::MINOR -Eq $versionBump)
518519
{
519-
Import-Module $PSScriptRoot/BreakingChanges/GetUpcomingBreakingChange.ps1
520+
Import-Module $PSScriptRoot/BreakingChanges/GetUpcomingBreakingChange.psm1
520521
Export-AllBreakingChangeMessageUnderArtifacts -ArtifactsPath $PSScriptRoot/../artifacts/Release/ -MarkdownPath $PSScriptRoot/../documentation/breaking-changes/upcoming-breaking-changes.md
521522
}
522523
}

0 commit comments

Comments
 (0)