Skip to content

Commit

Permalink
Changes [build image]
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Nov 13, 2024
1 parent c986967 commit 9592ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/machine.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9592ff3

Please sign in to comment.