Fix 2.6.2 reference docs

Closes gh-2035
This commit is contained in:
Eleftheria Stein
2022-02-22 15:43:37 +01:00
parent ab5c727846
commit e6ec5765b8
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
'use strict'
module.exports.register = (pipeline, { config }) => {
pipeline.on('contentAggregated', ({ contentAggregate }) => {
contentAggregate.forEach(aggregate => {
if (aggregate.version === "2.6.2" &&
aggregate.prerelease == "-SNAPSHOT") {
aggregate.version = "2.6.2"
aggregate.displayVersion = `${aggregate.version}`
delete aggregate.prerelease
}
})
})
}