Skip to content

[eas-cli] Fix update:republish command description#3888

Open
patrickwehbe wants to merge 1 commit into
expo:mainfrom
patrickwehbe:fix/update-republish-description
Open

[eas-cli] Fix update:republish command description#3888
patrickwehbe wants to merge 1 commit into
expo:mainfrom
patrickwehbe:fix/update-republish-description

Conversation

@patrickwehbe

Copy link
Copy Markdown

Why

eas update:republish --help shows the description "roll back to an existing update", which belongs to the separate eas update:rollback command. It looks like that string was copied over when the command was set up. Everything else about update:republish is about republishing an update group to a branch: its flags (--branch, --group, --destination-branch, ...), its log output ("The republished update group will appear..."), and the republishAsync call it runs. So the description is just wrong and is confusing in the help output and the generated CLI reference.

For comparison, update/rollback.ts keeps its own correct description, "roll back to an embedded update or an existing update".

How

Changed the static description on the UpdateRepublish command from "roll back to an existing update" to "republish an existing update to a branch", then updated the matching lines in packages/eas-cli/README.md so the generated reference stays in sync. The README change mirrors exactly what oclif readme produces for this command (verified by regenerating and diffing); I applied just the two republish lines by hand to keep this PR scoped to the fix and avoid pulling in unrelated regenerated sections.

Also added a bug-fix entry to CHANGELOG.md.

Test Plan

  • yarn build for the monorepo succeeds with the change.
  • After building, eas update:republish --help now prints "republish an existing update to a branch" in both the summary line and the DESCRIPTION block, and eas update:rollback --help is unaffected.

@github-actions

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder
packages/eas-cli/src/commands/update/** @wschurman, @quinlanj

Generated by CodeMention

The update:republish command had the update:rollback description
("roll back to an existing update") copied onto it, even though all of
its flags, log output, and behavior are about republishing an update
group to a branch. Set the description to "republish an existing update
to a branch" and regenerate the matching README entry.
@patrickwehbe patrickwehbe force-pushed the fix/update-republish-description branch from fddff27 to 6ac08bd Compare June 20, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant