Skip to content

Commit

Permalink
fix(semantic-release): go back to default github comment
Browse files Browse the repository at this point in the history
Fixes #21
  • Loading branch information
luisherranz committed Jul 11, 2018
1 parent dcfd976 commit 5695e1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
8 changes: 1 addition & 7 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@
"@semantic-release/git"
],
"publish": ["@semantic-release/github"],
"success": [
{
"path": "@semantic-release/github",
"successComment": ":tada: This issue has been resolved in version ${nextRelease.version} :tada:\n\n${releases.filter(rel =>!!rel.name).length > 0 ? `\n\nThe release is available on${releases.filter(rel => !!rel.name).length === 1 ? ` ${releases.filter(rel => !!rel.name)[0].url ? `[${releases.filter(rel => !!rel.name)[0].name}](${releases.filter(rel => !!rel.name)[0].url})` : `${releases.filter(rel => !!rel.name)[0].name}`}` : `:\n${releases.filter(release => !!release.name).map(releaseInfo => `- ${releaseInfo.url ? `[${releaseInfo.name}](${releaseInfo.url})` : `${releaseInfo.name}`}`).join('\n')}`}`: ''}"
}
],
"success": ["@semantic-release/github"],
"fail": ["@semantic-release/github"],

"branch": "master",
"npmPublish": false
}
33 changes: 0 additions & 33 deletions successComment.js

This file was deleted.

0 comments on commit 5695e1a

Please sign in to comment.