Skip to content

Commit

Permalink
add changelog rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Mar 15, 2023
1 parent 6593612 commit 08826c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in foreman_envsync.gemspec
gemspec

gem "github_changelog_generator"
gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rubocop", "~> 1.7"
Expand Down
12 changes: 10 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# frozen_string_literal: true

require "bundler/gem_tasks"
require "github_changelog_generator/task"
require "rspec/core/rake_task"
require "rubocop/rake_task"
require "foreman_envsync"

RSpec::Core::RakeTask.new(:spec)

require "rubocop/rake_task"

RuboCop::RakeTask.new

GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.future_release = ForemanEnvsync::VERSION
config.exclude_labels = ["skip-changelog"]
config.user = "lsst-it"
config.project = "foreman_envsync"
end

task default: %i[spec rubocop]

0 comments on commit 08826c2

Please sign in to comment.