Skip to content

Commit

Permalink
Merge pull request #14 from braiden-vasco/fix_changelog_generator
Browse files Browse the repository at this point in the history
Fix changelog generator
  • Loading branch information
Braiden Vasco committed Jun 17, 2015
2 parents a2ecabf + f4023e9 commit 9bd13bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -5,6 +5,8 @@ gemspec = Gem::Specification.load('lita-vkontakte.gemspec')
github_user, github_project =
gemspec.homepage.scan(%r{^https://github\.com/([^/]+)/([^/]+)/?$})[0]

DEFAULT_EXCLUDE_LABELS = 'duplicate,question,invalid,wontfix'

require 'bundler/gem_tasks'

task default: [:spec, :lint]
Expand All @@ -26,7 +28,7 @@ task :changelog, [:token] do |_t, args|
cmd << " -u #{github_user}"
cmd << " -p #{github_project}"
cmd << " -t #{args[:token]}" if args[:token]
cmd << ' --exclude-tags version'
cmd << " --exclude-labels version,#{DEFAULT_EXCLUDE_LABELS}"

sh cmd
end

0 comments on commit 9bd13bf

Please sign in to comment.