0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 16:31:53 +00:00
htmlpurifier/release.config.js
Kieran e55fead09f
fix: semantic release (#341)
Same as #339 but stops library/standalone and library/HTMLPurifier.standalone.phpfrom being commit
2022-09-20 12:45:11 -04:00

34 lines
700 B
JavaScript

module.exports = {
debug: true,
branch: 'master',
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
'changelogFile': 'NEWS'
}
],
[
'@semantic-release/exec',
{
'prepareCmd': 'php update-for-release ${nextRelease.version}'
}
],
[
'@semantic-release/git',
{
'assets': [
'VERSION',
'NEWS',
'Doxyfile',
['library/**/*', '!library/standalone/**/*', '!library/HTMLPurifier.standalone.php'],
'configdoc/**/*',
],
}
],
'@semantic-release/github'
],
}