Archived
1
0
Fork 0

Fix Rake task "changelog"

This commit is contained in:
Braiden Vasco 2017-07-20 21:39:23 +00:00
parent bc98a4a177
commit bb5a0eba91

View file

@ -29,10 +29,6 @@ end
desc 'Generate changelog' desc 'Generate changelog'
task :changelog, [:token] do |_t, args| task :changelog, [:token] do |_t, args|
cmd = 'github_changelog_generator' raise 'please provide access token' unless args[:token]
cmd << " -u #{github_user}" sh "github_changelog_generator -u #{github_user} -p #{github_project} -t #{args[:token]}"
cmd << " -p #{github_project}"
cmd << " -t #{args[:token]}" if args[:token]
sh cmd
end end