Synopsis
cluck rollback [--to V]
Description
Returns the service to a previous version. Without --to, it goes back one step. Usually completes in under eight seconds.
Options
| Flag | Description |
|---|---|
--to V | Roll back to a specific version |
--env E | Target environment |
--yes | Skip the confirmation prompt |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck rollback --env production
? Roll back v182 -> v181? (y/N) y
✔ Rolled back in 6.4s
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |