Skip to content

Commit

Permalink
Pass branch
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek committed Nov 2, 2024
1 parent 2bdc7f5 commit f82dadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/scripts/builders/contribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import matter from "gray-matter";
import { compile } from "@mdx-js/mdx";
import isAbsoluteUrl from "is-absolute-url";
import { nonDefaultSupportedLocales } from "@/src/i18n/const";
import { p5Version } from "@/src/globals/p5-version";

/* Repo to pull the contributor documentation from */
const docsRepoUrl = "https://github.com/processing/p5.js.git";
Expand Down Expand Up @@ -258,7 +259,7 @@ const moveContentDirectory = async (
const buildContributorDocs = async () => {
console.log("Building contributor docs...");

await cloneLibraryRepo(clonedRepoPath, docsRepoUrl);
await cloneLibraryRepo(clonedRepoPath, docsRepoUrl, p5Version);

// Clean out previous files
console.log("Cleaning out current content collection...");
Expand Down
3 changes: 2 additions & 1 deletion src/scripts/builders/people.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
} from "../utils";
import { readFile } from "fs/promises";
import yaml from "js-yaml";
import { p5Version } from "@/src/globals/p5-version";

/* Repo to pull the contributor documentation from */
const sourceRepoUrl = "https://github.com/processing/p5.js.git";
Expand All @@ -24,7 +25,7 @@ const outputDirectory = path.join(
const run = async () => {
console.log("Copying people from p5.js website into people collection...");

await cloneLibraryRepo(clonedRepoPath, sourceRepoUrl);
await cloneLibraryRepo(clonedRepoPath, sourceRepoUrl, p5Version);

const contents = await readFile(
path.join(clonedRepoPath, ".all-contributorsrc"),
Expand Down

0 comments on commit f82dadf

Please sign in to comment.