Skip to content

Commit

Permalink
Enhancement (generate): Improve tag retrieval for function `Get-Repos…
Browse files Browse the repository at this point in the history
…itoryReleaseLatest`
  • Loading branch information
joeltimothyoh committed Jul 19, 2024
1 parent ba406c0 commit bd852b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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+|$)") {
$_
}
Expand Down

0 comments on commit bd852b0

Please sign in to comment.