use dots for version numbers

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2024-11-06 18:04:11 +01:00
parent be8ced9fbe
commit e20d0891a0

View File

@ -43,7 +43,7 @@ const valid = results
.map((result) => result.value.url)
.map((url) => {
const thedate = version.exec(url)[1];
return `- [Version ${thedate}](${url})`;
return `- [Version ${thedate.replace("-", ".")}](${url})`;
});
const structurefile = readFileSync(structureFilePath, "utf-8");