diff --git a/.releaserc b/.releaserc index 3851453..c5ed545 100644 --- a/.releaserc +++ b/.releaserc @@ -38,7 +38,8 @@ [ "@semantic-release/exec", { - "publishCmd": "mix hex.publish --yes" + "publishCmd": "mix hex.publish --yes", + "failCommand": "mix hex.publish --revert ${nextRelease.version} --yes" } ] ]