From 480a4f6738f8acb04e46c5a2372ebb94512ddfb1 Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Wed, 5 Jul 2023 13:27:18 +0200 Subject: [PATCH] Fix changelog major and minor patterns --- .changelog/662.internal.md | 1 + internals/scripts/changelog.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changelog/662.internal.md diff --git a/.changelog/662.internal.md b/.changelog/662.internal.md new file mode 100644 index 000000000..130e590a5 --- /dev/null +++ b/.changelog/662.internal.md @@ -0,0 +1 @@ +Fix changelog major and minor patterns diff --git a/internals/scripts/changelog.js b/internals/scripts/changelog.js index 612e363c4..0fb75e1d2 100644 --- a/internals/scripts/changelog.js +++ b/internals/scripts/changelog.js @@ -4,8 +4,8 @@ const glob = require('glob') const packageJson = require('../../package.json') const folderPath = '.changelog/' -const majorPattern = `${folderPath}'*breaking*.md'` -const minorPattern = `${folderPath}'*feature*.md'` +const majorPattern = `${folderPath}*breaking*.md` +const minorPattern = `${folderPath}*feature*.md` const patchPattern = `${folderPath}*{process,cfg,bugfix,doc,internal,trivial}*.md` console.log('Assembling Change Log and updating package version')