diff --git a/dev/release/post-11-bump-versions-test.rb b/dev/release/post-11-bump-versions-test.rb index a017d2d70a167..4b6933d6102a9 100644 --- a/dev/release/post-11-bump-versions-test.rb +++ b/dev/release/post-11-bump-versions-test.rb @@ -54,12 +54,12 @@ def bump_versions(*targets) end env = env.merge(additional_env) case bump_type - when :minor_on_main, :patch_on_main + when :minor, :patch previous_version_components = @previous_version.split(".") case bump_type - when :minor_on_main + when :minor previous_version_components[1].succ! - when :patch_on_main + when :patch previous_version_components[2].succ! end sh(env, @@ -323,8 +323,9 @@ def test_version_post_tag "Output:\n#{stdout}") end - data(:bump_type, [nil, :minor_on_main, :patch_on_main]) + data(:bump_type, [nil, :minor, :patch]) def test_deb_package_names + omit_on_release_branch unless bump_type.nil? current_commit = git_current_commit stdout = bump_versions("DEB_PACKAGE_NAMES") changes = parse_patch(git("log", "-p", "#{current_commit}.."))