aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-07 23:54:28 -0800
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-07 23:54:28 -0800
commit588faedaf405a20d6aab96f3b780d987263216dc (patch)
treef8ee4b80ccb397f78628c109b9157860cb779757 /tasks
parentf5ca190bd33722e6a9b3539968ae9f8ae01fb471 (diff)
parentb53f77ec99ee179d66cca5efa9b68a659b161841 (diff)
downloadrails-588faedaf405a20d6aab96f3b780d987263216dc.tar.gz
rails-588faedaf405a20d6aab96f3b780d987263216dc.tar.bz2
rails-588faedaf405a20d6aab96f3b780d987263216dc.zip
Merge pull request #3563 from arunagw/changelog_to_md
CHANGELOG to CHANGELOG.md
Diffstat (limited to 'tasks')
-rw-r--r--tasks/release.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/release.rb b/tasks/release.rb
index 2422efa786..780543aa78 100644
--- a/tasks/release.rb
+++ b/tasks/release.rb
@@ -66,7 +66,7 @@ namespace :changelog do
FRAMEWORKS.each do |fw|
require 'date'
replace = '\1(' + Date.today.strftime('%B %d, %Y') + ')'
- fname = File.join fw, 'CHANGELOG'
+ fname = File.join fw, 'CHANGELOG.md'
contents = File.read(fname).sub(/^([^(]*)\(unreleased\)/, replace)
File.open(fname, 'wb') { |f| f.write contents }
@@ -76,7 +76,7 @@ namespace :changelog do
task :release_summary do
FRAMEWORKS.each do |fw|
puts "## #{fw}"
- fname = File.join fw, 'CHANGELOG'
+ fname = File.join fw, 'CHANGELOG.md'
contents = File.readlines fname
contents.shift
changes = []