Skip to content

Commit 16052c0

Browse files
committed
Allow DENOPS_BRANCH to specify the branch for supported versions
1 parent ac2df57 commit 16052c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.scripts/apply-supported-versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
} from "./supported_versions.ts";
55

66
async function main(): Promise<void> {
7-
const supportedVersions = await loadSupportedVersions("main");
7+
const supportedVersions = await loadSupportedVersions();
88
await updateREADME(supportedVersions);
99
await updateGithubWorkflowsTest(supportedVersions);
1010
}

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@
105105
"gen:function": "deno run -A ./.scripts/gen-function/gen-function.ts",
106106
"gen:option": "deno run -A ./.scripts/gen-option/gen-option.ts",
107107
"gen": "deno task gen:function && deno task gen:option && deno fmt",
108-
"apply:supported-versions": "deno run --allow-net --allow-read --allow-write .scripts/apply-supported-versions.ts"
108+
"apply:supported-versions": "deno run --allow-net --allow-read --allow-write --allow-env .scripts/apply-supported-versions.ts"
109109
}
110110
}

0 commit comments

Comments
 (0)