1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 03:10:09 +02:00

fix: semantic release (#339)

* fix: semantic release

* update git assets
This commit is contained in:
Kieran
2022-09-18 20:15:38 +01:00
committed by GitHub
parent 523407fb06
commit d82f3d996a
2 changed files with 24 additions and 26 deletions

View File

@@ -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/**/*',
'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',
]
}