Skip to content

Commit

Permalink
Merge pull request #372 from schmittjoseph/preserve-out-of-support-date
Browse files Browse the repository at this point in the history
Preserve existing out-of-support date
  • Loading branch information
schmittjoseph authored Jul 11, 2023
2 parents 5f25788 + d8e5cdc commit bc1623a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/update-releases-json/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc1623a

Please sign in to comment.