From 3cc903890a564b7b935111cc1246a63c1ede9e89 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 18 Sep 2022 15:21:11 -0400 Subject: [PATCH] Revert "fix: semantic release (#339)" This reverts commit d82f3d996a0d9b0f23364946d9a14408c1ad72c5. --- CHANGELOG.md | 6 ++++++ release.config.js | 44 ++++++++++++++++++++------------------------ 2 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..55cb9029 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +# [4.16.0](https://github.com/ezyang/htmlpurifier/compare/v4.15.0...v4.16.0) (2022-09-18) + + +### Features + +* add semantic release ([#307](https://github.com/ezyang/htmlpurifier/issues/307)) ([db31243](https://github.com/ezyang/htmlpurifier/commit/db312435cb9d8d73395f75f9642a43ba6de5e903)), closes [#322](https://github.com/ezyang/htmlpurifier/issues/322) [#323](https://github.com/ezyang/htmlpurifier/issues/323) [#326](https://github.com/ezyang/htmlpurifier/issues/326) [#327](https://github.com/ezyang/htmlpurifier/issues/327) [#328](https://github.com/ezyang/htmlpurifier/issues/328) [#329](https://github.com/ezyang/htmlpurifier/issues/329) [#330](https://github.com/ezyang/htmlpurifier/issues/330) [#331](https://github.com/ezyang/htmlpurifier/issues/331) [#332](https://github.com/ezyang/htmlpurifier/issues/332) [#333](https://github.com/ezyang/htmlpurifier/issues/333) [#337](https://github.com/ezyang/htmlpurifier/issues/337) [#335](https://github.com/ezyang/htmlpurifier/issues/335) [ezyang/htmlpurifier#334](https://github.com/ezyang/htmlpurifier/issues/334) [#336](https://github.com/ezyang/htmlpurifier/issues/336) [#338](https://github.com/ezyang/htmlpurifier/issues/338) diff --git a/release.config.js b/release.config.js index 93210a1a..3f73ace8 100644 --- a/release.config.js +++ b/release.config.js @@ -4,30 +4,26 @@ module.exports = { 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/**/*', - 'configdoc/**/*', - ], - } - ], + ['@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/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', + ] }