ai-yuca 1.2.9 → 1.3.0
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/cli.js +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -412,7 +412,7 @@ program
|
|
|
412
412
|
process.exit(1);
|
|
413
413
|
}
|
|
414
414
|
// 检查必要的上传配置
|
|
415
|
-
if (!cg.
|
|
415
|
+
if (!cg.aws.Bucket) {
|
|
416
416
|
console.error('❌ 配置文件中缺少必要的crowdin.Bucket配置项');
|
|
417
417
|
process.exit(1);
|
|
418
418
|
}
|
|
@@ -420,7 +420,7 @@ program
|
|
|
420
420
|
console.log(`📁 Keys目录: ${cg.crowdin.keysDir}`);
|
|
421
421
|
console.log(`🪣 存储桶: ${cg.crowdin.Bucket}`);
|
|
422
422
|
// 2. 生成可执行命令
|
|
423
|
-
let command = `ai-yuca upload -s ${cg.crowdin.keysDir}/keys -d crowdin/keys/${cg.crowdin.project} -b ${cg.
|
|
423
|
+
let command = `ai-yuca upload -s ${cg.crowdin.keysDir}/keys -d crowdin/keys/${cg.crowdin.project} -b ${cg.aws.Bucket} -r`;
|
|
424
424
|
// 如果有密钥文件配置,添加密钥文件参数
|
|
425
425
|
if (cg.aws && cg.aws.FileKey) {
|
|
426
426
|
command += ` -k ${cg.aws.FileKey}`;
|
package/dist/package.json
CHANGED