diff --git a/src/PSRepositoryReleaseManager/Private/Get-RepositoryReleaseLatest.ps1 b/src/PSRepositoryReleaseManager/Private/Get-RepositoryReleaseLatest.ps1 index 222e451..007bf1e 100644 --- a/src/PSRepositoryReleaseManager/Private/Get-RepositoryReleaseLatest.ps1 +++ b/src/PSRepositoryReleaseManager/Private/Get-RepositoryReleaseLatest.ps1 @@ -32,7 +32,7 @@ function Get-RepositoryReleaseLatest { }elseif ($TagType -eq 'All') { $tagPattern = '.+?' } - $tagsLatestInfo = (git --no-pager log --date-order --simplify-by-decoration --pretty='format:%H %D' @gitArgs) -split "`n" | % { + $tagsLatestInfo = (git --no-pager log --date-order --pretty='format:%H %D' @gitArgs) -split "`n" | % { if ($_ -match "\s+tag:\s+($tagPattern)(,\s+|$)") { $_ }