Fixed missed __dirname reference (#496)

This commit is contained in:
Mateusz Burzyński
2025-05-16 12:29:46 +02:00
committed by GitHub
parent 1ae3a21f70
commit 08db198428
+1 -1
View File
@@ -6,7 +6,7 @@ import pkgJson from "../package.json" with { type: "json" };
const tag = `v${pkgJson.version}`;
const releaseLine = "pr-release";
process.chdir(path.join(__dirname, ".."));
process.chdir(path.join(import.meta.dirname, ".."));
await exec("git", ["checkout", "--detach"]);
await exec("git", ["add", "--force", "dist"]);