class Fog::Rake::ChangelogTask

Public Class Methods

new() click to toggle source
# File lib/tasks/changelog_task.rb, line 7
def initialize
  desc "Update the changelog since the last release"
  task(:changelog) do

    @changelog = []
    @changelog << release_header

    process_commits

    @changelog << "**MVP!** #{mvp}" if mvp
    @changelog << blank_line

    add_commits_to_changelog
    save_changelog
  end
end