From 10570d8caa9f68381ecb1a141ddc8ec86c7b9d66 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 19 Jan 2024 15:09:23 -0600 Subject: [PATCH] Update get-changelog.js remove `cwcVersion`, `wcVersion`, `react` log --- tasks/get-changelog.js | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/tasks/get-changelog.js b/tasks/get-changelog.js index 0da2387ee6d..234badf399f 100644 --- a/tasks/get-changelog.js +++ b/tasks/get-changelog.js @@ -14,15 +14,7 @@ const program = require('commander'); program .option('-f, --tagFrom ', 'Git tag range from') - .option('-t, --tagTo ', 'Git tag range from') - .option( - '-v, --wcVersion ', - 'Web Components release version' - ) - .option( - '-c, --cwcVersion ', - 'Carbon Web Components release version' - ); + .option('-t, --tagTo ', 'Git tag range from'); /** * Stores the arguments @@ -45,20 +37,6 @@ const { tagFrom } = args; */ const { tagTo } = args; -// /** -// * Web Components release version (-v) -// * -// * @type {string} -// */ -// const { wcVersion } = args; - -// /** -// * Web Components release version (-v) -// * -// * @type {string} -// */ -// const { cwcVersion } = args; - /** * Uses a delimiter for splitting the comments into an array * @@ -125,15 +103,6 @@ function getChangelog(pkgName, folder) { // Stores the changelog let changelog = `## ${pkgName}\n`; - // // Set Web Components version next to package name - // if (pkgName === 'Web Components') { - // changelog = `## ${pkgName} (${wcVersion})\n`; - // } - - // if (pkgName === 'Carbon Web Components') { - // changelog = `## ${pkgName} (${cwcVersion})\n`; - // } - // Stores the list of features const features = {}; @@ -235,7 +204,6 @@ function generateLog() { './packages/carbon-web-components' ); log += getChangelog('Web Components', './packages/web-components'); - // log += getChangelog('React', './packages/react'); log += getChangelog('Styles', './packages/styles'); log += getChangelog('Services', './packages/services'); log += getChangelog('Services Store', './packages/services-store');