We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ae7eed + f6e2d77 commit dc9805dCopy full SHA for dc9805d
src/scripts/parsers/reference.ts
@@ -23,7 +23,7 @@ const parsersOutPath = path.join(__dirname, "out");
23
export const parseLibraryReference =
24
async (): Promise<ParsedLibraryReference | null> => {
25
let latestRelease:string = p5Version;
26
- if (/^\d+\.\d+\.\d+$/.exec(latestRelease)) {
+ if (/^\d+\.\d+\.\d+(-[\w.]+)?$/.exec(latestRelease)) {
27
latestRelease = `v${ latestRelease}`;
28
}
29
0 commit comments