diff --git a/crates/edgezero-cli/src/args.rs b/crates/edgezero-cli/src/args.rs index ddfdd1b9..63156914 100644 --- a/crates/edgezero-cli/src/args.rs +++ b/crates/edgezero-cli/src/args.rs @@ -381,8 +381,9 @@ pub struct RollbackArgs { /// Production only: the version to re-activate. Fastly exposes no /// metadata to tell a previously-live version from a staged one, so /// the rollback target CANNOT be inferred; it is captured before the - /// deploy that superseded it (see `deploy`'s `previous-version`) and - /// passed here. Required for a production rollback; ignored for staging. + /// deploy that superseded it (`active-version`, or the deploy-fastly + /// action's `previous-version` output) and passed here. Required for + /// a production rollback; ignored for staging. #[arg(long)] pub rollback_to: Option, /// Platform service id to roll back. Required. diff --git a/crates/edgezero-cli/src/lib.rs b/crates/edgezero-cli/src/lib.rs index 3205f87e..a617115b 100644 --- a/crates/edgezero-cli/src/lib.rs +++ b/crates/edgezero-cli/src/lib.rs @@ -516,8 +516,9 @@ pub fn run_rollback(args: &RollbackArgs) -> Result<(), String> { return Err( "a production rollback requires --rollback-to (the version to re-activate). Fastly \ exposes no metadata to infer it, so it must be captured before the deploy that \ - superseded it -- use `deploy`'s `previous-version` output. Pass --staging to \ - deactivate a staged version instead." + superseded it -- run `active-version` before deploying (the deploy-fastly GitHub \ + action does this and exposes it as its `previous-version` output). Pass --staging \ + to deactivate a staged version instead." .to_owned(), ); }