fix up authors

This commit is contained in:
David Dollar
2012-01-29 01:51:00 -05:00
parent 389bf05800
commit b2dc89c50e
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ Manage Procfile-based applications
#### Created and maintained by #### Created and maintained by
David Dollar David Dollar
#### Patches contributed by #### Patches contributes by
Adam Wiggins, Chris Continanza, Chris Lowder, Craig R Webster, Dan Farina, Dan Peterson, David Dollar, Fletcher Nichol, Gabriel Burt, Gamaliel Toro, Greg Reinacker, Hugues Le Gendre, Hunter Nield, Iain Hecker, Jay Zeschin, Keith Rarick, Khaja Minhajuddin, Lincoln Stoll, Marcos Muino Garcia, Mark McGranaghan, Matt Griffin, Matt Haynes, Matthijs Langenberg, Michael Dwan, Michael van Rooijen, Mike Javorski, Nathan Broadbent, Nathan L Smith, Nick Zadrozny, Phil Hagelberg, Ricardo Chimal, Jr, Thom May, Tom Ward, brainopia, clifff, jc00ke Adam Wiggins, Chris Continanza, Chris Lowder, Craig R Webster, Dan Farina, Dan Peterson, David Dollar, Fletcher Nichol, Florian Apolloner, Gabriel Burt, Gamaliel Toro, Greg Reinacker, Hugues Le Gendre, Hunter Nield, Iain Hecker, Jay Zeschin, Keith Rarick, Khaja Minhajuddin, Lincoln Stoll, Marcos Muino Garcia, Mark McGranaghan, Matt Griffin, Matt Haynes, Matthijs Langenberg, Michael Dwan, Michael van Rooijen, Mike Javorski, Nathan Broadbent, Nathan L Smith, Nick Zadrozny, Phil Hagelberg, Ricardo Chimal, Jr, Thom May, Tom Ward, brainopia, clifff, jc00ke
## License ## License
+4 -1
View File
@@ -31,6 +31,9 @@ desc "Generate an authors list"
task :authors do task :authors do
authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n") authors = %x{ git log --pretty=format:"%an" | sort -u }.split("\n")
puts authors.join(", ") 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 }
end end
def latest_release def latest_release
@@ -59,7 +62,7 @@ task :changelog do
puts release puts release
File.open("Changelog.md", "w") do |file| File.open("Changelog.md", "w") do |file|
file.puts changelog file.print changelog
end end
end end
end end