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 5653969084..e030ef8293 100644
--- a/task/release.rake
+++ b/task/release.rake
@@ -58,7 +58,8 @@ namespace :release do
abort "#{pr["html_url"]} hasn't been closed yet!" unless pr["state"] == "closed"
next unless pr["pull_request"]
pr["number"].to_s
- end.compact
+ end
+ prs.compact!
version_file = "lib/bundler/version.rb"
version_contents = File.read(version_file)