let github show authors

This commit is contained in:
David Dollar committed 2012-02-24 11:34:34 -05:00
1 parent 2272f76479
commit 1f725dd68a
2 files changed
+1 -9

No files matched your search

-8
View File
@@ -27,14 +27,6 @@ task :pages => "man:commit" do
}
end
desc "Generate an authors list"
task :authors do
authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n")
readme = File.read("README.md")
readme.gsub!(/#### Patches contributed by\n([^\n]*)\n/m, "#### Patches contributed by\n#{authors.join(", ")}\n")
File.open("README.md", "w") { |f| f.print readme }
end
def latest_release
latest = File.read("Changelog.md").split("\n").first.split(" ")[1]
end