caps name
This commit is contained in:
parent
5e64e5a226
commit
a335594bcc
|
@ -13,7 +13,7 @@ This script automatically generate change-log from your tags and merged pull-req
|
||||||
### Example usage:
|
### Example usage:
|
||||||
`github_changelog_generator -u github-username -p github-project`
|
`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:
|
### Params:
|
||||||
github_changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]
|
github_changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]
|
||||||
|
|
|
@ -88,7 +88,7 @@ class ChangelogGenerator
|
||||||
end
|
end
|
||||||
|
|
||||||
log += "\n\n*This file was generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
|
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) }
|
File.open(output_filename, 'w') { |file| file.write(log) }
|
||||||
|
|
||||||
puts "Done! Generated log placed in #{output_filename}"
|
puts "Done! Generated log placed in #{output_filename}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user