DOCS / CLI REFERENCE

cluck rollback

Returns the service to a previous version.

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

FlagDescription
--to VRoll back to a specific version
--env ETarget environment
--yesSkip 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands