fixed last commit
This commit is contained in:
parent
c2230ac5eb
commit
da85372fae
@ -9,7 +9,8 @@ function GitHub-Release($versionNumber)
|
|||||||
$lastTag = git describe --tags --abbrev=0
|
$lastTag = git describe --tags --abbrev=0
|
||||||
$tag = "$lastTag..HEAD"
|
$tag = "$lastTag..HEAD"
|
||||||
|
|
||||||
$clArr = [array]::Reverse((& 'git' 'log', $tag, '--oneline'))
|
$clArr = (& 'git' 'log', $tag, '--oneline')
|
||||||
|
$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