diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-04-23 10:35:28 +0200 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-04-23 10:35:28 +0200 |
commit | 5ee522ad9d1011a42ce6d6e824c6eb1b8e4f7337 (patch) | |
tree | 4608859b4d4f8804df1b51564afb860b946696aa /task | |
parent | b0f3873900e245a0c56a9daf6cb1764922f70beb (diff) | |
download | bundler-5ee522ad9d1011a42ce6d6e824c6eb1b8e4f7337.tar.gz |
[Rakefile] Handle when a patch release milestone also contains issues
Diffstat (limited to 'task')
-rw-r--r-- | task/release.rake | 3 |
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) |