1.0.2 • Published 6 years ago
wechat-miniapp-release-workflow v1.0.2
wechat miniapp release workflow
微信小程序构建工作流
同步 git / npm 及微信小程序版本号,方便维护。
快速上手
安装
$ npm i wechat-miniapp-release-workflow -D
使用
修改 package.json
{
// ...
"scripts": {
"prerelease": "git pull && git checkout master", // 可选
"release": "release-wechat"
}
// ...
}
说明
脚本环境基于 macOS 编写,windows 平台暂不适用 npm 版本,可自行 clone release.sh
文件,修改微信开发者工具路径。(欢迎 PR 适配版本)
请参考:https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html
参考
License
Apache-2.0 @ baranwang