From 9592ff3c9992cca4eadadde8fd7ef0f09f8ad8e9 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Wed, 13 Nov 2024 14:21:27 -0800 Subject: [PATCH] Changes [build image] --- scripts/machine.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/machine.mjs b/scripts/machine.mjs index b6aa0419306adb..df3d9a1d6305e6 100755 --- a/scripts/machine.mjs +++ b/scripts/machine.mjs @@ -1036,9 +1036,9 @@ async function main() { }); const imageId = await startGroup("Creating snapshot", async () => { - const { os, arch, distro, release } = options; + const { os, arch, distro, distroVersion } = options; const suffix = isCI ? `build-${getBuildNumber()}` : `draft-${Date.now()}`; - const name = `${os}-${arch}-${distro}-${release}-${suffix}`; + const name = `${os}-${arch}-${distro}-${distroVersion}-${suffix}`; const result = await machine.snapshot(name); console.log("Created snapshot:", result); return result;