diff --git a/release.ps1 b/release.ps1 index 4fa4cf91..12d69f2a 100644 --- a/release.ps1 +++ b/release.ps1 @@ -9,7 +9,7 @@ function GitHub-Release($versionNumber) $lastTag = git describe --tags --abbrev=0 $tag = "$lastTag..HEAD" - $clArr = (& 'git' 'log', $tag, '--oneline') + $clArr = [array]::Reverse((& 'git' 'log', $tag, '--oneline')) $changelog = $clArr | where { "$_" -notlike "*(POEditor.com)*" -and "$_" -notlike "*Merge branch*" -and "$_" -notlike "*Merge pull request*" -and "$_" -notlike "^-*" -and "$_" -notlike "*Merge remote tracking*" } $changelog = [string]::join([Environment]::NewLine, $changelog)