This commit is contained in:
David Dollar
2012-01-29 01:52:30 -05:00
parent 9f4f15a29c
commit e7c523dab7
-1
View File
@@ -30,7 +30,6 @@ end
desc "Generate an authors list"
task :authors do
authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n")
puts authors.join(", ")
readme = File.read("README.md")
readme.gsub!(/#### Patches contributed by\n([^\n]*)\n/m, "#### Patches contributes by\n#{authors.join(", ")}\n")
File.open("README.md", "w") { |f| f.print readme }