Permalink
Browse files

Fix release task

Add a parentheses.
related: b4c9649
  • Loading branch information...
1 parent b88cfed commit 21a674a028a9c02b8bba81db0bfe426843ee30a9 @arthurnn arthurnn committed Mar 31, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/release.rb
View
@@ -67,7 +67,7 @@
namespace :changelog do
task :release_date do
- FRAMEWORKS + ['guides'].each do |fw|
+ (FRAMEWORKS + ['guides']).each do |fw|
require 'date'
replace = '\1(' + Date.today.strftime('%B %d, %Y') + ')'
fname = File.join fw, 'CHANGELOG.md'
@@ -78,7 +78,7 @@
end
task :release_summary do
- FRAMEWORKS + ['guides'].each do |fw|
+ (FRAMEWORKS + ['guides']).each do |fw|
puts "## #{fw}"
fname = File.join fw, 'CHANGELOG.md'
contents = File.readlines fname

0 comments on commit 21a674a

Please sign in to comment.