script fixed
This commit is contained in:
parent
6a0a749c67
commit
0eba3c946c
@ -10,7 +10,7 @@ function GitHub-Release($versionNumber)
|
|||||||
$tag = "$lastTag..HEAD"
|
$tag = "$lastTag..HEAD"
|
||||||
|
|
||||||
$clArr = (& 'git' 'log', $tag, '--oneline')
|
$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 = $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)
|
$changelog = [string]::join([Environment]::NewLine, $changelog)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user