code-push-server icon indicating copy to clipboard operation
code-push-server copied to clipboard

版本号太大,提交不上去

Open cq0702 opened this issue 5 years ago • 2 comments

当我app端提交的版本号太大的时候:10036.0.0,最后一步提交上去的时候会报错 Releasing update contents to CodePush:

Upload progress:[==================================================] 100% 0.0s [Error] targetBinaryVersion 10036.0.0 not support. 请问这个是在哪里设置版本支持大小吗?怎么解决呢,谢谢

cq0702 avatar Apr 28 '20 02:04 cq0702

https://github.com/lisong/code-push-server/blob/aa647a509c5c7e1162c121ec9b597728e841a8cb/core/utils/common.js#L44

根据源码查看,x.y.z这种的,x只支持最多三位,你的5位超了,x本来就表示大版本,你这样使用不规范

yz1311 avatar May 11 '20 03:05 yz1311

好的,谢谢

cq0702 avatar May 14 '20 06:05 cq0702