Skip to content

Commit

Permalink
ci(releaserc): fix fail and success comments conditions
Browse files Browse the repository at this point in the history
Signed-off-by: kilianpaquier <[email protected]>
  • Loading branch information
kilianpaquier committed Oct 27, 2024
1 parent 025e608 commit 3cef466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ plugins:
- - "@semantic-release/github"
- draftRelease: false
failComment: ⚠️ Expected release for branch '${branch.name}' has failed due to the following errors:\n- ${errors.map(err => err.message).join('\\n- ')}
failCommentCondition: false
failCommentCondition: <% return false; %>
successComment: 🎉 This issue has been resolved in version v${nextRelease.version} 🎉
successCommentCondition: true
successCommentCondition: <% return true; %>
assets:
- label: CHANGELOG.md
path: CHANGELOG.md
Expand Down

0 comments on commit 3cef466

Please sign in to comment.