Skip to content

Commit a47a09e

Browse files
committed
Fix beta npm version script
1 parent df16dae commit a47a09e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/p5-version.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ const clonedRepoPath = path.join(repoRootPath, "in", "p5.js");
88
const outputFile = path.join(repoRootPath, "src", "globals", "p5-version.ts");
99

1010
const outputString = (version: string) =>
11-
`export const p5Version = "${version}" as const;
11+
`export const p5Version = "v${version}" as const;
1212
export const p5SoundVersion = "0.2.0" as const;\n`;
1313

1414
const run = async () => {
1515
console.log("Reading latest p5 version to update config...");
1616

17-
await cloneLibraryRepo(clonedRepoPath, p5RepoUrl, "main");
17+
await cloneLibraryRepo(clonedRepoPath, p5RepoUrl, "dev-2.0");
1818

1919
// read version from package.json
2020
const packageConfigContents = await readFile(

0 commit comments

Comments
 (0)