From d8e5cdccfb5fe1647787dbe9e8c6dcf9922d8a30 Mon Sep 17 00:00:00 2001 From: Joe Schmitt <1146681+schmittjoseph@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:07:27 +0000 Subject: [PATCH] Preserve existing out-of-support date --- .github/actions/update-releases-json/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/update-releases-json/index.js b/.github/actions/update-releases-json/index.js index 3d8894c6f00..f5760758232 100644 --- a/.github/actions/update-releases-json/index.js +++ b/.github/actions/update-releases-json/index.js @@ -58,9 +58,10 @@ function addNewReleaseVersion(releasePayload, supportedFrameworks, releasesData) supportedFrameworks: supportedFrameworks.split(' ') }; - // Preserve the original minor release date for RTM releases + // Preserve the original minor release date and out-of-support date for RTM releases if (existingRelease !== undefined && iteration === undefined) { newRelease.minorReleaseDate = existingRelease.minorReleaseDate; + newRelease.outOfSupportDate = existingRelease.outOfSupportDate; } releasesData.releases[releaseMajorMinorVersion] = newRelease;