caps name

This commit is contained in:
Petr Korolev 2014-11-06 20:01:55 +02:00
parent 5e64e5a226
commit a335594bcc
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ This script automatically generate change-log from your tags and merged pull-req
### Example usage:
`github_changelog_generator -u github-username -p github-project`
In output you will get `[your_project]_changelog.md` file with *pretty Markdown-formatted* changelogs in your current directory.
In output you will get `[your_project]_CHANGELOG.md` file with *pretty Markdown-formatted* changelogs in your current directory.
### Params:
github_changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]

View File

@ -88,7 +88,7 @@ class ChangelogGenerator
end
log += "\n\n*This file was generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
output_filename = "#{@options[:project]}_changelog.md"
output_filename = "#{@options[:project]}_CHANGELOG.md"
File.open(output_filename, 'w') { |file| file.write(log) }
puts "Done! Generated log placed in #{output_filename}"