@applift/cli 0.1.4 → 0.1.5
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/dist/bin.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as makeContext, n as program } from "./src-
|
|
1
|
+
export { t as makeContext, n as program } from "./src-DfD6njiP.mjs";
|
|
@@ -633,9 +633,11 @@ program.command("beta").description("内测分发(android/ios → 蒲公英扫
|
|
|
633
633
|
}, artifactPath, cmdOpts.note);
|
|
634
634
|
const r = await agc.stage({
|
|
635
635
|
...ctx,
|
|
636
|
-
emit: () => {
|
|
636
|
+
emit: (e) => {
|
|
637
|
+
if (e.type === "warn") s.message(pc.yellow(`⚠ ${e.message}`));
|
|
638
|
+
}
|
|
637
639
|
});
|
|
638
|
-
if (r.ok) s.stop(`AGC
|
|
640
|
+
if (r.ok) s.stop(`AGC 测试版本已就绪 ${pc.green("✓")}(未提交审核),到控制台「测试」提交并指定测试群组`);
|
|
639
641
|
else {
|
|
640
642
|
s.stop(`AGC 测试发布失败: ${r.error}`);
|
|
641
643
|
process.exitCode = 1;
|
|
@@ -648,7 +650,9 @@ program.command("beta").description("内测分发(android/ios → 蒲公英扫
|
|
|
648
650
|
const ctx = makeContext(pgyer, creds, resolveChannelTarget("pgyer", projCfg, detected), artifactPath, cmdOpts.note, { installPassword: cmdOpts.installPassword });
|
|
649
651
|
const r = await pgyer.stage({
|
|
650
652
|
...ctx,
|
|
651
|
-
emit: () => {
|
|
653
|
+
emit: (e) => {
|
|
654
|
+
if (e.type === "warn") s.message(pc.yellow(`⚠ ${e.message}`));
|
|
655
|
+
}
|
|
652
656
|
});
|
|
653
657
|
if (r.ok) s.stop(`蒲公英发布成功 ${pc.green("✓")} 扫码即装`);
|
|
654
658
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applift/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/hcg1023/applift.git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@applift/core": "0.1.
|
|
20
|
+
"@applift/core": "0.1.3",
|
|
21
21
|
"@clack/prompts": "^1.8.1",
|
|
22
22
|
"commander": "^15.0.0",
|
|
23
23
|
"picocolors": "^1.1.1"
|