@oalo-ai/cli 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/man/oalo.1 +1 -1
- package/package.json +1 -1
- package/src/commands/coord-bin.js +7 -2
- package/src/coord-release.json +9 -9
package/man/oalo.1
CHANGED
package/package.json
CHANGED
|
@@ -80,9 +80,14 @@ export async function coordInstall(flags) {
|
|
|
80
80
|
// re-applies that in case a build came from elsewhere.
|
|
81
81
|
if (process.platform === "darwin") spawnSync("codesign", ["--force", "--sign", "-", tmp], { stdio: "ignore" });
|
|
82
82
|
const check = spawnSync(tmp, ["--version"], { encoding: "utf8" });
|
|
83
|
-
|
|
83
|
+
const gotVer = (check.stdout || "").trim();
|
|
84
|
+
if (check.status !== 0 || gotVer !== rel.version) {
|
|
84
85
|
rmSync(tmp, { force: true });
|
|
85
|
-
|
|
86
|
+
const detail =
|
|
87
|
+
check.status !== 0
|
|
88
|
+
? (check.stderr || check.error?.message || `exit ${check.status}`).trim()
|
|
89
|
+
: `version mismatch: expected ${rel.version}, got ${gotVer || "(empty)"}`;
|
|
90
|
+
console.error(`oalo coord install: the downloaded build failed self-check (${detail}); nothing was installed`);
|
|
86
91
|
process.exit(1);
|
|
87
92
|
}
|
|
88
93
|
renameSync(tmp, bin);
|
package/src/coord-release.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.10.
|
|
2
|
+
"version": "0.10.1",
|
|
3
3
|
"targets": {
|
|
4
4
|
"darwin-arm64": {
|
|
5
5
|
"file": "oalo-coord-darwin-arm64.gz",
|
|
6
|
-
"sha256": "
|
|
7
|
-
"bytes":
|
|
6
|
+
"sha256": "c119af7acdf2584adb8f3512174f5160e14fd785b42d719cd4178cea77a86dcc",
|
|
7
|
+
"bytes": 24879534
|
|
8
8
|
},
|
|
9
9
|
"darwin-x64": {
|
|
10
10
|
"file": "oalo-coord-darwin-x64.gz",
|
|
11
|
-
"sha256": "
|
|
12
|
-
"bytes":
|
|
11
|
+
"sha256": "35ebb0a882bc92ed14a73b61097c76fb0f53308d8e85eed42a408f6a84768440",
|
|
12
|
+
"bytes": 27017383
|
|
13
13
|
},
|
|
14
14
|
"linux-x64": {
|
|
15
15
|
"file": "oalo-coord-linux-x64.gz",
|
|
16
|
-
"sha256": "
|
|
17
|
-
"bytes":
|
|
16
|
+
"sha256": "d99e4d79176a3af66c730bbe3740ffee1aa8368315eb0941bdca3455562820d9",
|
|
17
|
+
"bytes": 36909806
|
|
18
18
|
},
|
|
19
19
|
"linux-arm64": {
|
|
20
20
|
"file": "oalo-coord-linux-arm64.gz",
|
|
21
|
-
"sha256": "
|
|
22
|
-
"bytes":
|
|
21
|
+
"sha256": "d05e16d33904a04f18b1314d46a31906b4f39c6fc52fc4c2f742faae5a44f0a9",
|
|
22
|
+
"bytes": 37150409
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|