Interview Prep/Git & GitHub/Recovery and incident handling

How do you roll back a release made from a tag?

IntermediateProductionRecovery and incident handling
Answer

Redeploy the previous tag's artifact digest. If the tag itself is bad, publish a new patch tag (v1.4.1) rather than deleting and recreating v1.4.0, because consumers and caches already saw the old one. Mark the broken GitHub Release as pre-release or edit notes with a warning.

All Git & GitHub questions Roadmap: Git & GitHub

More on Recovery and incident handling