diff --git a/dev/release/post-12-bump-versions-test.rb b/dev/release/post-12-bump-versions-test.rb index 9af334c496fe6..9c4026584aeca 100644 --- a/dev/release/post-12-bump-versions-test.rb +++ b/dev/release/post-12-bump-versions-test.rb @@ -210,6 +210,18 @@ def test_version_post_tag ["+ (#{@next_major_version}, 0),"], ], }, + { + path: "r/pkgdown/assets/versions.html", + hunks: [ + [ + "-
#{@previous_version}.9000 (dev)
", + "-#{@previous_r_version} (release)
", + "+#{@release_version}.9000 (dev)
", + "+", + "+", + ], + ], + }, { path: "r/pkgdown/assets/versions.json", hunks: [ @@ -228,6 +240,17 @@ def test_version_post_tag ] else expected_changes += [ + { + path: "r/pkgdown/assets/versions.html", + hunks: [ + [ + "-#{@previous_version}.9000 (dev)
", + "-#{@previous_r_version} (release)
", + "+", + "+", + ], + ], + }, { path: "r/pkgdown/assets/versions.json", hunks: [ diff --git a/dev/release/utils-prepare.sh b/dev/release/utils-prepare.sh index ecdd0a26dcb7a..19ffda578b4b0 100644 --- a/dev/release/utils-prepare.sh +++ b/dev/release/utils-prepare.sh @@ -194,6 +194,7 @@ update_versions() { "${base_version}" \ "${next_version}" git add docs/source/_static/versions.json + git add r/pkgdown/assets/versions.html git add r/pkgdown/assets/versions.json popd } diff --git a/r/pkgdown/assets/versions.html b/r/pkgdown/assets/versions.html index 8ba513a98c85b..74d0a57c3fe26 100644 --- a/r/pkgdown/assets/versions.html +++ b/r/pkgdown/assets/versions.html @@ -1,9 +1,15 @@ - - + + + + + + + - + +