|
|
@ -12,42 +12,15 @@ |
|
|
|
|
|
|
|
|
module.exports = { |
|
|
module.exports = { |
|
|
plugins: [ |
|
|
plugins: [ |
|
|
[ |
|
|
|
|
|
'semantic-release-gitmoji', { |
|
|
|
|
|
/* |
|
|
|
|
|
releaseRules: { |
|
|
|
|
|
major: [ ':boom:' ], |
|
|
|
|
|
minor: [ ':sparkles:' ], |
|
|
|
|
|
patch: [ |
|
|
|
|
|
':bug:', |
|
|
|
|
|
':ambulance:', |
|
|
|
|
|
':lock:' |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
releaseNotes: { |
|
|
|
|
|
//template,
|
|
|
|
|
|
// partials: { commitTemplate },
|
|
|
|
|
|
helpers: { |
|
|
|
|
|
datetime: function (format = 'UTC:yyyy-mm-dd') { |
|
|
|
|
|
return dateFormat(new Date(), format) |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
issueResolution: { |
|
|
|
|
|
template: '{baseUrl}/{owner}/{repo}/issues/{ref}', |
|
|
|
|
|
baseUrl: 'https://github.com', |
|
|
|
|
|
source: 'github.com' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
*/ |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
// '@semantic-release/github',
|
|
|
|
|
|
// '@semantic-release/npm'
|
|
|
|
|
|
|
|
|
'semantic-release-gitmoji', |
|
|
|
|
|
'@semantic-release/github', |
|
|
|
|
|
'@semantic-release/npm', |
|
|
["@semantic-release/changelog", { |
|
|
["@semantic-release/changelog", { |
|
|
"changelogFile": "CHANGELOG.md", |
|
|
"changelogFile": "CHANGELOG.md", |
|
|
}], |
|
|
}], |
|
|
["@semantic-release/git", { |
|
|
["@semantic-release/git", { |
|
|
"assets": ["CHANGELOG.md", "package.json"], |
|
|
"assets": ["CHANGELOG.md", "package.json"], |
|
|
}], |
|
|
|
|
|
|
|
|
"message": ":bookmark: ${nextRelease.version}\n\n${nextRelease.notes}" |
|
|
|
|
|
}] |
|
|
] |
|
|
] |
|
|
} |
|
|
} |