upload-miniprogram 0.0.21 → 0.0.22
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.
|
@@ -8,7 +8,7 @@ program
|
|
|
8
8
|
.description('微信小程序CI/CD上传工具')
|
|
9
9
|
.option('-a, --appid <appid>', '小程序ID')
|
|
10
10
|
.option('-p, --project-path <path>', '小程序项目打包后的代码路径')
|
|
11
|
-
.option('-
|
|
11
|
+
.option('-V, --app-version <version>', '小程序版本号')
|
|
12
12
|
.option('-d, --desc <desc>', '版本描述')
|
|
13
13
|
.option('-u, --user <user>', '上传用户')
|
|
14
14
|
.option('-e, --env <env>', '环境变量 (development|staging|uat|production)', 'development')
|
|
@@ -24,7 +24,7 @@ if (options.env) {
|
|
|
24
24
|
uploadMiniprogram({
|
|
25
25
|
appid: options.appid,
|
|
26
26
|
projectPath: options.projectPath,
|
|
27
|
-
version: options.
|
|
27
|
+
version: options.appVersion,
|
|
28
28
|
desc: options.desc,
|
|
29
29
|
user: options.user
|
|
30
30
|
});
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|