From 389bf05800b8b46103cc0ca6cb2c2571bb7aa01b Mon Sep 17 00:00:00 2001 From: David Dollar Date: Sun, 29 Jan 2012 01:47:05 -0500 Subject: [PATCH] cleanup --- tasks/release.rake | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tasks/release.rake b/tasks/release.rake index ce5493b..19f971f 100644 --- a/tasks/release.rake +++ b/tasks/release.rake @@ -62,24 +62,4 @@ task :changelog do file.puts changelog end end - - - # date = - # message = "## #{release[1..-1]} - # timestamp = Time.now.utc.strftime('%m/%d/%Y') - # sha = `git log | head -1`.split(' ').last - # changelog = ["#{version} #{timestamp} #{sha}"] - # changelog << ('=' * changelog[0].length) - # changelog << '' - - # last_sha = `cat Changelog | head -1`.split(' ').last - # shortlog = `git log #{last_sha}..HEAD --pretty=format:'%s [%an]'` - # changelog << shortlog.split("\n") - # changelog.concat ['', '', ''] - - # old_changelog = File.read('Changelog') - # File.open('Changelog', 'w') do |file| - # file.write(changelog.join("\n")) - # file.write(old_changelog) - # end end