Skip to content

Commit

Permalink
Update get-changelog.js
Browse files Browse the repository at this point in the history
remove `cwcVersion`, `wcVersion`, `react` log
  • Loading branch information
emyarod authored Jan 19, 2024
1 parent 04207da commit 10570d8
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions tasks/get-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ const program = require('commander');

program
.option('-f, --tagFrom <git tag from>', 'Git tag range from')
.option('-t, --tagTo <git tag to>', 'Git tag range from')
.option(
'-v, --wcVersion <web components release version>',
'Web Components release version'
)
.option(
'-c, --cwcVersion <carbon web components release version>',
'Carbon Web Components release version'
);
.option('-t, --tagTo <git tag to>', 'Git tag range from');

/**
* Stores the arguments
Expand All @@ -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
*
Expand Down Expand Up @@ -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 = {};

Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 10570d8

Please sign in to comment.