Skip to content

Commit

Permalink
fix gitbutler
Browse files Browse the repository at this point in the history
  • Loading branch information
Utesgui authored Apr 29, 2024
1 parent f6b4e37 commit 2953771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Update-Gitbutler.GitButler.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ else {
gh pr list --search "$($wingetPackage) $($latestVersion) in:title draft:false" --state 'merged' --json 'title,url' --repo 'microsoft/winget-pkgs' | ConvertFrom-Json
$ExistingMergedPRs = gh pr list --search "$($wingetPackage) $($latestVersion) in:title draft:false" --state 'merged' --json 'title,url' --repo 'microsoft/winget-pkgs' | ConvertFrom-Json

$ExistingPRs = $ExistingOpenPRs,$ExistingMergedPRs
$ExistingPRs = @($ExistingOpenPRs) + @($ExistingMergedPRs)

# TODO Check if PR is already merged, if so exit

Expand Down

0 comments on commit 2953771

Please sign in to comment.