diff --git a/scripts/updater-nightly.ts b/scripts/updater-nightly.ts index 0ba8007329..db72280ea3 100644 --- a/scripts/updater-nightly.ts +++ b/scripts/updater-nightly.ts @@ -28,9 +28,7 @@ async function resolveUpdater() { ...options, tag: "pre-release", }); - const shortHash = await execSync( - `git rev-parse --short ${latestPreRelease.target_commitish}`, - ) + const shortHash = await execSync(`git rev-parse --short pre-release`) .toString() .replace("\n", "") .replace("\r", "");