Skip to content

Commit 546d235

Browse files
committed
Merge branch 'muratgozel/master' into beta
2 parents 28f6cfc + 36c9bd2 commit 546d235

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/compare_screenshots.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
test -d ./tmp/output && rm -rf ./tmp/output
44
mkdir -p ./tmp/{output,screenshots,baseline}

src/lib/converter/plugins/PackagePlugin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@ export class PackagePlugin extends ConverterComponent {
150150
project.name = project.packageName || "Documentation";
151151
}
152152
if (this.includeVersion) {
153-
project.packageVersion = this.packageJson.version;
153+
project.packageVersion = this.packageJson.version?.replace(
154+
/^v/,
155+
""
156+
);
154157
}
155158
} else if (!project.name) {
156159
this.application.logger.warn(

0 commit comments

Comments
 (0)