diff --git a/lib/success.js b/lib/success.js index 6f7e7d0..7c4bf89 100644 --- a/lib/success.js +++ b/lib/success.js @@ -92,9 +92,9 @@ module.exports = async (pluginConfig, context) => { if (repo.path) { const gitTag = nextRelease.gitTag - const gitTagPrefix = repo.hostname.startsWith('gitlab') - ? '/-/releases/' - : '/releases/tag/' + const gitTagPrefix = repo.hostname.startsWith('github') + ? '/releases/tag/' + : '/-/releases/' const gitTagUrl = repo.URL + gitTagPrefix + gitTag slackMessage.attachments = [