File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,7 @@ function Bump-AzVersion
274
274
275
275
Update-ModuleManifest - Path " $PSScriptRoot \Az\Az.psd1" - ModuleVersion $newVersion - ReleaseNotes $releaseNotes
276
276
Update-ChangeLog - Content $changeLog - RootPath $rootPath
277
+ return $versionBump
277
278
}
278
279
279
280
function Generate-AzPreview
@@ -421,7 +422,14 @@ switch ($PSCmdlet.ParameterSetName)
421
422
Write-Host executing dotnet $PSScriptRoot / ../ artifacts/ VersionController/ VersionController.Netcore.dll
422
423
dotnet $PSScriptRoot / ../ artifacts/ VersionController/ VersionController.Netcore.dll
423
424
424
- Bump- AzVersion
425
+ $versionBump = Bump- AzVersion
426
+
427
+ # We need to generate the upcoming-breaking-changes.md after the process of bump version in minor release
428
+ if ([PSVersion ]::MINOR -Eq $versionBump )
429
+ {
430
+ Import-Module $PSScriptRoot / BreakingChanges/ GetUpcomingBreakingChange.ps1
431
+ Export-AllBreakingChangeMessageUnderArtifacts - ArtifactsPath $PSScriptRoot / ../ artifacts/ Release/ - MarkdownPath $PSScriptRoot / ../ documentation/ breaking- changes/ upcoming- breaking- changes.md
432
+ }
425
433
}
426
434
}
427
435
You can’t perform that action at this time.
0 commit comments