Skip to content

Commit 943b326

Browse files
author
Sebastian Gumprich
committed
update ruby, remove changelog task
1 parent 19dda3e commit 943b326

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
ruby '2.7.2'
4+
35
source 'https://rubygems.org'
46

57
gem 'highline'

Rakefile

-21
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,3 @@ namespace :test do
2626
pp profile.check
2727
end
2828
end
29-
30-
task :changelog do
31-
# Automatically generate a changelog for this project. Only loaded if
32-
# the necessary gem is installed. By default its picking up the version from
33-
# inspec.yml. You can override that behavior with `rake changelog to=1.2.0`
34-
begin
35-
require 'yaml'
36-
metadata = YAML.load_file('inspec.yml')
37-
v = ENV['to'] || metadata['version']
38-
puts " * Generating changelog for version #{v}"
39-
require 'github_changelog_generator/task'
40-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
41-
config.future_release = v
42-
config.user = 'dev-sec'
43-
config.project = 'mysql-baseline'
44-
end
45-
Rake::Task[:changelog].execute
46-
rescue LoadError
47-
puts '>>>>> GitHub Changelog Generator not loaded, omitting tasks'
48-
end
49-
end

0 commit comments

Comments
 (0)