bake/modernize/actions.rb in bake-modernize-0.25.0 vs bake/modernize/actions.rb in bake-modernize-0.26.0

- old
+ new

@@ -27,10 +27,12 @@ readme_path = ["README.md", "readme.md"].find{|path| File.exist?(File.expand_path(path, root))} if readme_path update_badges(readme_path, repository_url(root)) end + + system("bundle", "add", "--group", "documentation", "decode", chdir: root) end private def update_filenames(root) @@ -46,9 +48,16 @@ # Move development.yaml to test.yaml development_path = actions_root + "development.yaml" test_path = actions_root + "test.yaml" if development_path.exist? FileUtils::Verbose.mv(development_path, test_path) + end + + # Move coverage.yaml to test-coverage.yaml + coverage_path = actions_root + "coverage.yaml" + test_coverage_path = actions_root + "test-coverage.yaml" + if coverage_path.exist? + FileUtils::Verbose.mv(coverage_path, test_coverage_path) end end def repository_url(root) repository = Rugged::Repository.discover(root)