Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

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

Open
zjsun opened this issue Apr 1, 2020 · 6 comments
Open

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

zjsun opened this issue Apr 1, 2020 · 6 comments

Comments

@zjsun
Copy link

zjsun commented Apr 1, 2020

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

@zjsun
Copy link
Author

zjsun commented Apr 12, 2020

提了个PR,请老板笑纳

@dawsonyan186
Copy link

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

@zjsun
Copy link
Author

zjsun commented Apr 23, 2020

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

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

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

@dawsonyan186
Copy link

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

@zjsun
Copy link
Author

zjsun commented Apr 23, 2020

你的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...

@chikinlee
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants