回滚

将分支回滚到以前的更新或嵌入式更新。


EAS 更新支持两种类型的回滚:

🌐 There are two types of rollbacks supported by EAS Update:

  • 回滚到之前发布的更新。
  • 回滚到构建中嵌入的更新。

开始回滚

🌐 Start a rollback

要开始回滚,请运行以下命令:

🌐 To start a rollback, run the following command:

Terminal
eas update:rollback

在终端中,交互式指南将帮助你选择回滚类型并执行回滚。

🌐 In the terminal, an interactive guide will assist you in selecting the type of rollback and doing the rollback.

回滚到之前发布的更新

🌐 Rolling back to a previously-published update

上述命令重新发布之前发布的更新,以便在功能上将客户端回滚到该更新。

🌐 The above command re-publishes a previously-published update to functionally roll back clients to that update.

回滚到构建中嵌入的更新

🌐 Rolling back to the update embedded in the build

上述命令指示客户端运行构建中嵌入的更新。

🌐 The above command instructs the client to run the update embedded in the build.

回滚后发布

🌐 Publishing after the rollback

回滚后再次发布时,所有客户端都将收到新的更新。

🌐 Upon publishing again after a rollback, all clients will receive the new update.