Skip to content

taggor rollback

Point a channel back to its previous version (or to one you name); a site environment with a pinned version does not change, and the output says so.

Usage
npx taggor rollback <component> [options]
Argument What it does Default
<component> Component tag or id (cmp_...). Required. -
--channel <value> Channel to move back: production or staging (required). -
--version <value> Version to go back to, by its id (ver_...) or its number (1.2.0). Default: the version the channel pointed to before the current one. -
--yes Skip the question a terminal asks before a production change (never needed without a terminal). -
--allow-breaking Allow a breaking change into production. -
--reason <value> Why the channel moves, kept in the channel's history (up to 500 characters). -

Also takes the common options: --api-url, --workspace, --verbose, --store, --json, --no-input.

Examples
npx taggor rollback price-card --channel production --version 1.1.0

Exit codes: 0 ok, 1 generic, 2 usage, 3 unauthenticated, 4 not_found, 5 conflict, 7 rate_limited, 8 network, 9 forbidden. What each code means.