Skip to content

Commit

Permalink
+6
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 25, 2024
1 parent 9910a68 commit 0aba049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ jobs:
param ($ref, $key)
$pattern = "^meta\.$key=([0-9a-f]{40})$"
Write-Host "--- Looking for commit message lines matching [$pattern]"
# Write-Host "--- Looking for commit message lines matching [$pattern]"
$res = @()
foreach ($l in git log -1 --pretty=format:"%B" $ref) {
Write-Host "----- $l"
# Write-Host "----- $l"
if ($l -notmatch $pattern) { continue }
$sha = $matches[1]
Write-Host "------- FOUND: $sha"
# Write-Host "------- FOUND: $sha"
$res += $sha
}
if (-not $?) { throw "git log failed" }
Expand Down

0 comments on commit 0aba049

Please sign in to comment.