summaryrefslogtreecommitdiff
path: root/task/release.rake
diff options
context:
space:
mode:
Diffstat (limited to 'task/release.rake')
-rw-r--r--task/release.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/task/release.rake b/task/release.rake
index 8aeaa0bfee..5c9ac12ff6 100644
--- a/task/release.rake
+++ b/task/release.rake
@@ -221,7 +221,8 @@ namespace :release do
in_release = prs("HEAD") - prs(last_stable)
in_release.each do |pr|
- system("open", "https://github.com/bundler/bundler/pull/#{pr}")
+ url_opener = /darwin/ =~ RUBY_PLATFORM ? "open" : "xdg-open"
+ system(url_opener, "https://github.com/bundler/bundler/pull/#{pr}")
confirm
end
end