Yeah. Will also add logic to make sure I don't rewrite a change list that was already written.

On May 10, 2013, at 1:31 PM, Parker Moore <notifications@github.com> wrote:

> In Rakefile:
> 
> > @@ -143,6 +147,22 @@ namespace :site do
> >      end
> >      puts 'Done.'
> >    end
> > +
> > +  desc "Move the changelist over to _posts directory and update its formatting."
> > +  task :changelist do
> > +    # First lets go ahead and format the file correctly (mainly bullet points)
> > +    if File.exist?("History.markdown")
> > +      file_time = File.read("History.markdown")
> > +      replaced = file_time.gsub(/\s{2}\*{1}/, "-")
> > +    # Now we need to copy the file into the _posts directory with the proper date
> > +      Dir.chdir('site/_posts') do
> > +        sh "rm -rf *-changelist.md"
> > +        File.open("#{file_date}-changelist.md", "w") {|file| file.write(replaced)}
> This all will have to change:
> 
> Dir.chdir("site/docs") do
>   File.open("history.md", "w") do |f|
>     f.write(replaced)
>   end
> end
> —
> Reply to this email directly or view it on GitHub.