Skip to content

Commit eedb7c6

Browse files
fixup! fix prereleases after rename of cloudflare package directory - take 2
1 parent 6a94b80 commit eedb7c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/utils/update-version.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const { execSync } = require("node:child_process");
1414
const assert = require("node:assert");
1515

1616
try {
17-
const packagePath = getArgs()[0];
18-
assert(packagePath, "Required package path missing.");
19-
const packageJsonPath = `packages/${packagePath}/package.json`;
17+
const packageName = getArgs()[0];
18+
assert(packageName, "Required package name missing.");
19+
const packageJsonPath = `packages/${packageName}/package.json`;
2020
const pkg = JSON.parse(readFileSync(packageJsonPath));
2121
const stdout = execSync("git rev-parse --short HEAD", { encoding: "utf8" });
2222
pkg.version = "0.0.0-" + stdout.trim();

0 commit comments

Comments
 (0)