A platform for community discussion. Free, open, simple.
DEV: update release rake task to mark PRs ready-for-review (#38464)
David Taylorac9f132fe526
diff --git a/lib/tasks/release.rake b/lib/tasks/release.rakeindex 58495a8c08c..f4d457620f2 100644--- a/lib/tasks/release.rake+++ b/lib/tasks/release.rake@@ -128,6 +128,9 @@ module ReleaseUtilsgit "push", "origin", "#{branch}:#{base}"breakelse+ if !gh("pr", "ready", branch) # remove draft status+ puts "Failed to mark PR as ready-for-review... trying to merge anyway"+ endsuccess = gh("pr", "merge", branch, "--rebase", "--delete-branch")break if successputs "Merge failed. Maybe the PR isn't approved yet, or there's a conflict."