Skip to content

Commit 9b9677f

Browse files
authored
fix: build and postinstall bug (#155)
1 parent cc78961 commit 9b9677f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ jobs:
186186
await buildBinary("arm64");
187187
await buildBinary("armv7l");
188188
} else if (process.env.ARTIFACT_NAME === "mac") {
189-
await buildBinary("x64", ["--metal"]);
190-
await buildBinary("arm64", ["--no-metal"]);
189+
await buildBinary("arm64", ["--metal"]);
190+
await buildBinary("x64", ["--no-metal"]);
191191
}
192192
193193
// move binaries to llamaBins

src/cli/commands/OnPostInstallCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const OnPostInstallCommand: CommandModule<object, OnPostInstallCommand> =
1515
await getLlama({
1616
progressLogs: true
1717
});
18+
process.exit(0);
1819
} catch (err) {
1920
console.error(err);
2021
process.exit(1);

0 commit comments

Comments
 (0)