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)

", + "+

#{@release_version} (release)

", + "+

#{@previous_r_version}

", + ], + ], + }, { 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)

", + "+

#{@release_version}.9000 (dev)

", + "+

#{@release_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 @@ -

13.0.0.9000 (dev)

-

13.0.0.1 (release)

+

18.0.0.9000 (dev)

+

18.0.0 (release)

+

17.0.0

+

16.1.0

+

15.0.2

+

14.0.2

+

13.0.0.1

12.0.1.1

-

11.0.0.3

+

12.0.0

+

11.0.0

10.0.1

9.0.0

8.0.0