Ensure version is sorted as semVer (#1948)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
parent
c3a9d67d01
commit
47d7a91c0c
@ -193,7 +193,8 @@ function Set-ChangeLogContent {
|
||||
|
||||
try
|
||||
{
|
||||
$ChangeLogEntries = $ChangeLogEntries.Values | Sort-Object -Descending -Property ReleaseStatus, ReleaseVersion
|
||||
$ChangeLogEntries = $ChangeLogEntries.Values | Sort-Object -Descending -Property ReleaseStatus, `
|
||||
@{e = {[AzureEngSemanticVersion]::new($_.ReleaseVersion)}}
|
||||
}
|
||||
catch {
|
||||
LogError "Problem sorting version in ChangeLogEntries"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user