summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 11:46:32 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-12 17:32:49 +0200
commitdfc5e5ed18dd6d627625cdaf16a7a6fcce62b382 (patch)
treeb65f294238f82877846550f5cab911787f4d429e
parent40d6d4a77669f18368d7e33331cce28232bb7504 (diff)
downloadbundler-dfc5e5ed18dd6d627625cdaf16a7a6fcce62b382.tar.gz
Allow cancelling release:open_unreleased_prs task
-rw-r--r--task/release.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/task/release.rake b/task/release.rake
index 5c9ac12ff6..9ecb370232 100644
--- a/task/release.rake
+++ b/task/release.rake
@@ -220,6 +220,10 @@ namespace :release do
in_release = prs("HEAD") - prs(last_stable)
+ print "About to review #{in_release.size} pending PRs. "
+
+ confirm "Continue?"
+
in_release.each do |pr|
url_opener = /darwin/ =~ RUBY_PLATFORM ? "open" : "xdg-open"
system(url_opener, "https://github.com/bundler/bundler/pull/#{pr}")