diff --git a/Rakefile b/Rakefile index 3368060..6a9a86a 100644 --- a/Rakefile +++ b/Rakefile @@ -13,3 +13,11 @@ Rake::TestTask.new(:test) do |t| end task default: :test + +require "github_changelog_generator/task" +require "alchemy/bugsnag/version" +GitHubChangelogGenerator::RakeTask.new(:changelog) do |config| + config.user = "AlchemyCMS" + config.project = "alchemy-bugsnag" + config.future_release = "v#{Alchemy::Bugsnag::VERSION}" +end diff --git a/alchemy-bugsnag.gemspec b/alchemy-bugsnag.gemspec index d69b6ee..9aed48d 100644 --- a/alchemy-bugsnag.gemspec +++ b/alchemy-bugsnag.gemspec @@ -18,4 +18,6 @@ Gem::Specification.new do |spec| spec.add_dependency "alchemy_cms", ">= 4.6.7", "< 7" spec.add_dependency "bugsnag", "~> 6.0" + + spec.add_development_dependency "github_changelog_generator" end diff --git a/lib/alchemy/bugsnag/version.rb b/lib/alchemy/bugsnag/version.rb index ac946ee..43c75b1 100644 --- a/lib/alchemy/bugsnag/version.rb +++ b/lib/alchemy/bugsnag/version.rb @@ -1,5 +1,5 @@ module Alchemy module Bugsnag - VERSION = "0.1.0" + VERSION = "1.0.0" end end