Skip to content

Commit

Permalink
ci: unpublish next version if release fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Nov 22, 2023
1 parent aeeba12 commit 9ca1f44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
]
Expand Down

0 comments on commit 9ca1f44

Please sign in to comment.