script fixed

This commit is contained in:
Master Kwoth 2017-06-10 23:52:44 +02:00
parent 6a0a749c67
commit 0eba3c946c

View File

@ -10,7 +10,7 @@ function GitHub-Release($versionNumber)
$tag = "$lastTag..HEAD"
$clArr = (& 'git' 'log', $tag, '--oneline')
$clArr = [array]::Reverse($clArr)
[array]::Reverse($clArr)
$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)