wechat_web_devtools icon indicating copy to clipboard operation
wechat_web_devtools copied to clipboard

老板,紧急求助:支持下CLI V2

Open zjsun opened this issue 5 years ago • 6 comments

我现在用的latest docker镜像,upload时提示:error: '{"code":40000,"error":"Error Error: The current version is too old, please upgrade the tool"}'

zjsun avatar Apr 01 '20 05:04 zjsun

提了个PR,请老板笑纳

zjsun avatar Apr 12 '20 07:04 zjsun

小程序已经提供ci工具,参考https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html

dawsonyan186 avatar Apr 23 '20 02:04 dawsonyan186

小程序已经提供ci工具,参考https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html

没有开发工具自带的ci方便:

  1. 需要每个小程序配置private key,小程序多的场景太麻烦;
  2. upload功能还是需要人工介入扫码,不利于无人值守自动化;

zjsun avatar Apr 23 '20 03:04 zjsun

你的docker镜像能共享用下吗,我昨天打包后,没法启动cli,会显示端口未开启(https://github.com/cytle/wechat_web_devtools/issues/259)

dawsonyan186 avatar Apr 23 '20 03:04 dawsonyan186

你的docker镜像能共享用下吗,我昨天打包后,没法启动cli,会显示端口未开启(https://github.com/cytle/wechat_web_devtools/issues/259)

我没有build docker镜像,我是直接在已有的container里直接update的,参考:https://github.com/zjsun/wechat_web_devtools

步骤:

  1. 覆盖更新容器内bin目录所有文件(使用我fork的库);
  2. 执行 ./bin/update_package_nw.sh
  3. 修改/wxdt/nwjs_v中版本号(我的是0.38.4),然后执行 ./bin/update_nwjs.sh
  4. enjoy...

zjsun avatar Apr 23 '20 05:04 zjsun

小程序已经提供ci工具,参考教程文章: https://www.jianshu.com/p/df1b55b1680e 官方文档地址: https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html

chikinlee avatar May 07 '20 03:05 chikinlee