Fix GHES download links (#19655)
Set the value for `patch.downloadVersion` again to appropriately render GHES download links (including release candidates) Fixes https://github.com/github/docs-internal/issues/19652
This commit is contained in:
@@ -12,6 +12,7 @@ function sortPatchKeys (release, version, options = {}) {
|
||||
return {
|
||||
version: `${version}.${keyWithDots}`,
|
||||
patchVersion: keyWithDots,
|
||||
downloadVersion: `${version}.${keyWithDots.replace(/\.rc\d*$/, '')}`,
|
||||
release: version, // TODO this naming :/ we are not currently using this value, but we may want to.
|
||||
...release[key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user