forked from voxpupuli/modulesync_config
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
21 lines (18 loc) · 720 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'metadata_json_deps'
desc 'Run metadata-json-deps'
task :metadata_deps do
files = FileList['modules/*/*/metadata.json']
MetadataJsonDeps.run(files)
end
begin
require 'github_changelog_generator/task'
require 'yaml'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
config.exclude_labels = %w{duplicate question invalid wontfix wont-fix skip-changelog github_actions}
config.user = 'voxpupuli'
config.project = 'modulesync_config'
config.future_release = YAML.safe_load(File.read('moduleroot/.msync.yml.erb'))['modulesync_config_version']
end
rescue LoadError
end