[eas-cli][eas-update] Support republishing roll back to embedded updates #2005
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
#2004 (comment)
When a roll back to embedded type update was republished, the code failed. This fixes it.
How
Support republishing signed roll-back-to-embedded updates.
Test Plan
$ neas update:rollback --private-key-path keys/private-key.pem
✔ Which type of update would you like to roll back to? › Published Update
✔ Find update by branch or channel? › Channel
✔ Select a channel to view › main
✔ Load more update groups? › [Aug 14 09:38 by wschurman, runtimeVersion: 1.0.0] rb
✔ The republished update group will appear only on: all
✔ Provide an update message. … Republish "rb" - group: c59d7422-0064-4fee-b14e-259517a223f0
✔ The republished update group will be signed
🔒 Signing republished update group
✔ Republished update group
Branch main
Runtime version 1.0.0
Platform android, ios
Update group ID 0849f86f-5808-4c4d-8c08-f257998e235d
Android update ID e6266b29-07ff-4470-91e9-b8352b10dd3c
iOS update ID 894ba423-53a0-4564-afa7-d6362ebda3fb
Message Republish "rb" - group: c59d7422-0064-4fee-b14e-259517a223f0
Website link https://expo.dev/accounts/wschurman/projects/watwathuh/updates/0849f86f-5808-4c4d-8c08-f257998e235d