Add --base option

This commit is contained in:
Raphaël Pinson
2015-08-04 16:03:13 +02:00
parent 295cfbc767
commit 4202b95076
3 changed files with 17 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ module GitHubChangelogGenerator
log += generate_log_for_all_tags
end
log += File.read(@options[:base]) if File.file?(@options[:base])
log += "\n\n\\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
@log = log
end