From 005d7465b0d64be9f28dbc986954a644552d0d09 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 4 Jan 2022 17:03:32 -0600 Subject: [PATCH] Add fix for 5.6.1 version --- docs/antora/extensions/version-fix.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/antora/extensions/version-fix.js b/docs/antora/extensions/version-fix.js index 8c3270f8a8..fb12473521 100644 --- a/docs/antora/extensions/version-fix.js +++ b/docs/antora/extensions/version-fix.js @@ -13,6 +13,12 @@ module.exports.register = (pipeline, { config }) => { aggregate.displayVersion = `${aggregate.version}` delete aggregate.prerelease } + if (aggregate.version === "5.6.1" && + aggregate.prerelease == "-SNAPSHOT") { + aggregate.version = "5.6.1" + aggregate.displayVersion = `${aggregate.version}` + delete aggregate.prerelease + } }) }) }