Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Fix rake whatsnew (#8657)
Browse files Browse the repository at this point in the history
  • Loading branch information
dshevtsov authored Feb 9, 2021
1 parent 35241e6 commit a1799fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,14 @@ task :whatsnew do
generated_file = 'tmp/whats-new.yml'
current_data = YAML.load_file current_file
last_update = current_data['updated']

print 'Generating data for the What\'s New digest: $ '.magenta

# Generate tmp/whats-new.yml
report =
if since.nil? || since.empty?
`bin/whatsup_github since '#{last_update}'`
elsif since.is_a? String
`bin/whatsup_github since #{since}`
`bin/whatsup_github since '#{since}'`
else
abort 'The "since" argument must be a string. Example: "jul 4"'
end
Expand Down

0 comments on commit a1799fc

Please sign in to comment.