Skip to content

Commit

Permalink
fix: semantic release (#341)
Browse files Browse the repository at this point in the history
Same as #339 but stops library/standalone and library/HTMLPurifier.standalone.phpfrom being commit
  • Loading branch information
bytestream committed Sep 20, 2022
1 parent 3e83215 commit e55fead
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md

This file was deleted.

44 changes: 24 additions & 20 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,30 @@ module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
['@semantic-release/changelog', {'changelogFile': 'NEWS'}],
'@semantic-release/exec',
['@semantic-release/git', {
'assets': ['VERSION', 'NEWS', 'Doxyfile', 'library/HTMLPurifier.php', 'library/HTMLPurifier/Config.php', 'library/HTMLPurifier.includes.php'],
}],
[
'@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'
],
verifyConditions: [
'@semantic-release/changelog',
'@semantic-release/github',
],
prepare: [
{
path: '@semantic-release/exec',
cmd: 'php update-for-release ${nextRelease.version}'
},
'@semantic-release/changelog',
'@semantic-release/git',
],
publish: [
'@semantic-release/github',
]
}

0 comments on commit e55fead

Please sign in to comment.