From d2a30b38c3f38a9f467b83654dbd0ca98c9cccc3 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Thu, 20 Feb 2025 21:05:25 -0800 Subject: [PATCH] Support showing multiple releases in appcast MacVim r179 updated Sparkle to 2.5.2, which allows showing mutiple releases notes at once, depending on which version the user is upgrading from. That means we can now show multiple release notes in the appcast now, but only show versions down to r179 (since otherwise it would be confusing to older MacVim users upgrading if they see their own version in the release notes since older Sparkle wouldn't know how to filter them out). Add the relevant supporting CSS and wrap each include in its own section. The actual change to include multiple releases will be done later. --- appcast/_appcast_style.css | 17 ++++++++++++++++- appcast/_prerelease.xml | 2 ++ appcast/_release.xml | 2 ++ appcast/_release_legacy.xml | 2 ++ 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/appcast/_appcast_style.css b/appcast/_appcast_style.css index 6933edc..7e5a09a 100644 --- a/appcast/_appcast_style.css +++ b/appcast/_appcast_style.css @@ -1,4 +1,19 @@ diff --git a/appcast/_prerelease.xml b/appcast/_prerelease.xml index 38605f7..c77f781 100644 --- a/appcast/_prerelease.xml +++ b/appcast/_prerelease.xml @@ -3,7 +3,9 @@ MacVim prerelease-180.2 {% include releases/r180.2.html %} +


Latest release notes >

]]>
https://github.com/macvim-dev/macvim/releases diff --git a/appcast/_release.xml b/appcast/_release.xml index 2eb2261..5994490 100644 --- a/appcast/_release.xml +++ b/appcast/_release.xml @@ -2,7 +2,9 @@ MacVim release-180 {% include releases/r180.html %} +


Latest release notes >

]]>
https://github.com/macvim-dev/macvim/releases diff --git a/appcast/_release_legacy.xml b/appcast/_release_legacy.xml index fca0d14..dfdab74 100644 --- a/appcast/_release_legacy.xml +++ b/appcast/_release_legacy.xml @@ -2,7 +2,9 @@ MacVim release-180 {% include releases/r180.html %} +


Latest release notes >

]]>
https://github.com/macvim-dev/macvim/releases