Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/utils/update-version.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const assert = require("node:assert");
try {
const packagePath = getArgs()[0];
assert(packagePath, "Required package path missing.");
const packageJsonPath = `${packagePath}/package.json`;
const packageJsonPath = `packages/${packagePath}/package.json`;
const pkg = JSON.parse(readFileSync(packageJsonPath));
const stdout = execSync("git rev-parse --short HEAD", { encoding: "utf8" });
pkg.version = "0.0.0-" + stdout.trim();
Expand Down