@clickzetta/cz-cli 0.5.16 → 0.5.18
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/bin/postinstall.js +2 -1
- package/package.json +6 -6
package/bin/postinstall.js
CHANGED
|
@@ -106,6 +106,7 @@ async function main() {
|
|
|
106
106
|
encoding: "utf-8",
|
|
107
107
|
env: process.env,
|
|
108
108
|
}).trim();
|
|
109
|
+
const channel = process.env.CZ_CHANNEL === "nightly" ? "nightly" : "stable";
|
|
109
110
|
fs.mkdirSync(path.dirname(installFile), { recursive: true });
|
|
110
111
|
fs.writeFileSync(
|
|
111
112
|
installFile,
|
|
@@ -113,7 +114,7 @@ async function main() {
|
|
|
113
114
|
{
|
|
114
115
|
version: 1,
|
|
115
116
|
installed_path: installed.binPath,
|
|
116
|
-
channel
|
|
117
|
+
channel,
|
|
117
118
|
binary_version: binaryVersion,
|
|
118
119
|
updated_at: new Date().toISOString(),
|
|
119
120
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickzetta/cz-cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"description": "AI-Agent-friendly CLI for ClickZetta Lakehouse",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cz-cli": "bin/run.js",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"bin/"
|
|
14
14
|
],
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@clickzetta/cz-cli-darwin-arm64": "0.5.
|
|
17
|
-
"@clickzetta/cz-cli-darwin-x64": "0.5.
|
|
18
|
-
"@clickzetta/cz-cli-linux-arm64": "0.5.
|
|
19
|
-
"@clickzetta/cz-cli-linux-x64": "0.5.
|
|
20
|
-
"@clickzetta/cz-cli-win32-x64": "0.5.
|
|
16
|
+
"@clickzetta/cz-cli-darwin-arm64": "0.5.18",
|
|
17
|
+
"@clickzetta/cz-cli-darwin-x64": "0.5.18",
|
|
18
|
+
"@clickzetta/cz-cli-linux-arm64": "0.5.18",
|
|
19
|
+
"@clickzetta/cz-cli-linux-x64": "0.5.18",
|
|
20
|
+
"@clickzetta/cz-cli-win32-x64": "0.5.18"
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|