upload-miniprogram 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,9 +7,8 @@
7
7
  - ✅ 自动上传小程序代码到微信开发者平台
8
8
  - ✅ 生成预览二维码
9
9
  - ✅ 支持多环境配置 (开发/测试/预发布/生产)
10
- - ✅ 支持命令行参数和交互式输入
11
10
  - ✅ 集成Jenkins CI/CD环境
12
- - ✅ 自动获取Git用户信息
11
+ - ✅ 在本地环境自动获取Git用户信息
13
12
 
14
13
  ## 安装
15
14
 
@@ -61,7 +60,6 @@ uploadMiniprogram({
61
60
  projectPath: './dist',
62
61
  version: '1.0.0',
63
62
  desc: '功能更新',
64
- user: 'developer@example.com',
65
63
  env: 'production'
66
64
  });
67
65
 
@@ -101,7 +99,8 @@ ${WORKSPACE}/../mp-ci-upload-key/private.{appid}.key
101
99
  ## Jenkins集成
102
100
 
103
101
  在Jenkins中配置环境变量:
104
-
102
+ 1. 增加 version 和 desc 参数,每次构建时使用
103
+ 2. 运行命令 yarn upload:mp:dev -- --app-version=${version} --desc="${desc}"
105
104
 
106
105
 
107
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "upload-miniprogram",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "chatlabs 集成 微信小程序CI/CD上传工具,支持自动上传代码和生成预览二维码",
5
5
  "main": "lib/index.js",
6
6
  "bin": {