From 4a05f770562f8ee57df4cd5bbb741593fdeaa9df Mon Sep 17 00:00:00 2001 From: Jonson Petard <41122242+greenhat616@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:59:45 +0800 Subject: [PATCH] fix(ci): nightly updater issue --- scripts/updater-nightly.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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", "");