未指定channel时,如何为EAS构建的应用执行OTA更新?
问题:未指定channel的production构建已上架,无法进行OTA更新
背景
我的eas.json里的构建配置如下:
"build": { "production": {} }
我用这条命令构建了Android应用:
eas build -p android --profile production
构建完成后,应用的Release Channel被自动设为default。现在我没办法给这个已上架的应用做空中(OTA)更新。
试过的无效方法
- 直接更新
default分支:eas update --branch default --message "first update" - 在eas.json中新增
default构建配置,指定channel为default:"build": { "default": { "channel": "default", } } - 将
default频道关联到staging分支后更新该分支:eas channel:edit default --branch staging eas update --branch staging --message "first update"
核心需求
我知道可以新建指定channel的构建,但现在必须给已经上架的这个版本做OTA更新,紧急修复BUG,等不及新版本上架流程。
内容的提问来源于stack exchange,提问作者dan dan
相关产品推荐
相关产品推荐

