Skip to content

Commit

Permalink
fix: semantic release (#339)
Browse files Browse the repository at this point in the history
* fix: semantic release

* update git assets
  • Loading branch information
bytestream committed Sep 18, 2022
1 parent 523407f commit d82f3d9
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
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/**/*',
'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 d82f3d9

Please sign in to comment.