You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: microapp-ci [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
init 初始化发布配置文件
doctor 检查发布配置文件是否正确(TODO)
help [command] display help for command
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
microapp-ci 是在taro提供的插件taro-plugin-mini-ci基础上实现的命令行工具,目的是实现多平台小程序构建、提测、发布流程自动化。目前暂时仅支持微信、字节、支付宝、百度小程序。
安装
方式一: 全局安装 microapp-ci
方式二:本地安装
使用
构建完后打开开发者工具:
预览版构建:
构建小程序并生成预览二维码
体验版发布:
构建小程序并完成上传体验版,同时生成体验二维码
上述命令因有用户交互,需用户选择构建平台,构建环境等信息,所以仅适用本地命令行使用。
基于以上考虑,又提供了
build
命令构建打包压缩并完成消息推送
可结合通用的业务发布流水线,完成构建部署上传。可支持构建zip文件下载。保存本地的二维码访问等。
e.g.
microapp-ci build --type weapp,swan,alipay --buildEnv test --buildAction preview
命令行使用
配置相关
消息推送示例
Beta Was this translation helpful? Give feedback.
All reactions