Skip to content

Commit

Permalink
ci: added version prefix in label
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Sep 17, 2023
1 parent 858a8e3 commit cf788f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/update_docusarus_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ast.program.body.forEach((node) => {
versionsArray.forEach((version) => {
const override = versionsOverride.find((item) => item.version === version) || {};
const bannerValue = override.banner || 'none';
const labelValue = override.label || version;
const labelValue = override.label || `v${version}`;

const versionProperty = t.objectProperty(
t.stringLiteral(version),
Expand Down
2 changes: 1 addition & 1 deletion versionsOverride.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"version": "3.4.x",
"banner": "none",
"label": "3.4.x and prior"
"label": "v3.4.x and prior"
}
]

0 comments on commit cf788f0

Please sign in to comment.