Comments (3)
@fundon
抱歉回复晚了.
targetBinaryVersion
的具体处理其实是在服务端的, 所以如果遇上问题的话, 可能需要看看code-push-server的逻辑.
服务端的逻辑主要在 https://github.com/shm-open/code-push-server/blob/master/src/core/utils/common.ts#L29, 会把具体的min/max version范围解析出来. 我尝试了一下, ~1.0.0
会拆成 min_version: 1000000000000000, max_version: 1000010000000000
, 看起来是正常的.
而我们最近的版本里修过这样一个问题有可能会有关: lisong/code-push-server#173, 对应的fix: shm-open/code-push-server#162, 已经发布过, 可以试试更新到最新版本看看.
如果问题依然存在, 希望能提供更多的一些信息方便复现/调试:
- 使用的server/cli版本
- 发布时的具体命令行
from code-push-cli.
好的 我再尝试下
from code-push-cli.
我的app版本号目前是10.1.7
发布10.1.1 - 10.1.999 可以接收到。
再发布 10.1.7 之后也可以接收到。
但在单独发布10.1.7之后,应用无法接受到10.1.1 - 10.1.999 范围发布的最新包
server 2.1.6 / cli 2.1.9
code-push release-react xxx android --t "10.1.1 - 10.1.999" --d Production --des "" -m true
code-push release-react xxx android --t "10.1.7" --d Production --des "" -m true
from code-push-cli.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-push-cli.