Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 31e1a25

Browse files
author
bcoe
committed
fix: default changelog sections to undefined
1 parent 8f40d8e commit 31e1a25

3 files changed

Lines changed: 155 additions & 158 deletions

File tree

.github/workflows/release-please.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
release-please:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: GoogleCloudPlatform/release-please-action@3eee20cf311ef238a2220fb57f5b70ce72efa4dd
10+
- uses: GoogleCloudPlatform/release-please-action@2.2.0
1111
with:
1212
token: ${{ secrets.RELEASE_PR_TOKEN }}
1313
release-type: node

dist/index.js

Lines changed: 153 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ async function main () {
22372237
const changelogTypes = core.getInput('changelog-types')
22382238

22392239
// Parse the changelogTypes if there are any
2240-
let changelogSections = []
2240+
let changelogSections = undefined
22412241
if (changelogTypes) {
22422242
changelogSections = JSON.parse(changelogTypes)
22432243
}
@@ -41220,7 +41220,6 @@ class Node extends release_pr_1.ReleasePR {
4122041220
sha: latestTag ? latestTag.sha : undefined,
4122141221
path: this.path,
4122241222
});
41223-
console.info(`SECTIONS ${this.changelogSections}`);
4122441223
const cc = new conventional_commits_1.ConventionalCommits({
4122541224
commits,
4122641225
githubRepoUrl: this.repoUrl,
@@ -41233,8 +41232,6 @@ class Node extends release_pr_1.ReleasePR {
4123341232
currentTag: `v${candidate.version}`,
4123441233
previousTag: candidate.previousTag,
4123541234
});
41236-
console.info(commits);
41237-
console.info(`CHANGELOG = ${changelogEntry}`);
4123841235
// don't create a release candidate until user facing changes
4123941236
// (fix, feat, BREAKING CHANGE) have been made; a CHANGELOG that's
4124041237
// one line is a good indicator that there were no interesting commits.
@@ -48687,158 +48684,158 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
4868748684
/***/ (function(module) {
4868848685

4868948686
"use strict";
48690-
48691-
48692-
module.exports = {
48693-
"aliceblue": [240, 248, 255],
48694-
"antiquewhite": [250, 235, 215],
48695-
"aqua": [0, 255, 255],
48696-
"aquamarine": [127, 255, 212],
48697-
"azure": [240, 255, 255],
48698-
"beige": [245, 245, 220],
48699-
"bisque": [255, 228, 196],
48700-
"black": [0, 0, 0],
48701-
"blanchedalmond": [255, 235, 205],
48702-
"blue": [0, 0, 255],
48703-
"blueviolet": [138, 43, 226],
48704-
"brown": [165, 42, 42],
48705-
"burlywood": [222, 184, 135],
48706-
"cadetblue": [95, 158, 160],
48707-
"chartreuse": [127, 255, 0],
48708-
"chocolate": [210, 105, 30],
48709-
"coral": [255, 127, 80],
48710-
"cornflowerblue": [100, 149, 237],
48711-
"cornsilk": [255, 248, 220],
48712-
"crimson": [220, 20, 60],
48713-
"cyan": [0, 255, 255],
48714-
"darkblue": [0, 0, 139],
48715-
"darkcyan": [0, 139, 139],
48716-
"darkgoldenrod": [184, 134, 11],
48717-
"darkgray": [169, 169, 169],
48718-
"darkgreen": [0, 100, 0],
48719-
"darkgrey": [169, 169, 169],
48720-
"darkkhaki": [189, 183, 107],
48721-
"darkmagenta": [139, 0, 139],
48722-
"darkolivegreen": [85, 107, 47],
48723-
"darkorange": [255, 140, 0],
48724-
"darkorchid": [153, 50, 204],
48725-
"darkred": [139, 0, 0],
48726-
"darksalmon": [233, 150, 122],
48727-
"darkseagreen": [143, 188, 143],
48728-
"darkslateblue": [72, 61, 139],
48729-
"darkslategray": [47, 79, 79],
48730-
"darkslategrey": [47, 79, 79],
48731-
"darkturquoise": [0, 206, 209],
48732-
"darkviolet": [148, 0, 211],
48733-
"deeppink": [255, 20, 147],
48734-
"deepskyblue": [0, 191, 255],
48735-
"dimgray": [105, 105, 105],
48736-
"dimgrey": [105, 105, 105],
48737-
"dodgerblue": [30, 144, 255],
48738-
"firebrick": [178, 34, 34],
48739-
"floralwhite": [255, 250, 240],
48740-
"forestgreen": [34, 139, 34],
48741-
"fuchsia": [255, 0, 255],
48742-
"gainsboro": [220, 220, 220],
48743-
"ghostwhite": [248, 248, 255],
48744-
"gold": [255, 215, 0],
48745-
"goldenrod": [218, 165, 32],
48746-
"gray": [128, 128, 128],
48747-
"green": [0, 128, 0],
48748-
"greenyellow": [173, 255, 47],
48749-
"grey": [128, 128, 128],
48750-
"honeydew": [240, 255, 240],
48751-
"hotpink": [255, 105, 180],
48752-
"indianred": [205, 92, 92],
48753-
"indigo": [75, 0, 130],
48754-
"ivory": [255, 255, 240],
48755-
"khaki": [240, 230, 140],
48756-
"lavender": [230, 230, 250],
48757-
"lavenderblush": [255, 240, 245],
48758-
"lawngreen": [124, 252, 0],
48759-
"lemonchiffon": [255, 250, 205],
48760-
"lightblue": [173, 216, 230],
48761-
"lightcoral": [240, 128, 128],
48762-
"lightcyan": [224, 255, 255],
48763-
"lightgoldenrodyellow": [250, 250, 210],
48764-
"lightgray": [211, 211, 211],
48765-
"lightgreen": [144, 238, 144],
48766-
"lightgrey": [211, 211, 211],
48767-
"lightpink": [255, 182, 193],
48768-
"lightsalmon": [255, 160, 122],
48769-
"lightseagreen": [32, 178, 170],
48770-
"lightskyblue": [135, 206, 250],
48771-
"lightslategray": [119, 136, 153],
48772-
"lightslategrey": [119, 136, 153],
48773-
"lightsteelblue": [176, 196, 222],
48774-
"lightyellow": [255, 255, 224],
48775-
"lime": [0, 255, 0],
48776-
"limegreen": [50, 205, 50],
48777-
"linen": [250, 240, 230],
48778-
"magenta": [255, 0, 255],
48779-
"maroon": [128, 0, 0],
48780-
"mediumaquamarine": [102, 205, 170],
48781-
"mediumblue": [0, 0, 205],
48782-
"mediumorchid": [186, 85, 211],
48783-
"mediumpurple": [147, 112, 219],
48784-
"mediumseagreen": [60, 179, 113],
48785-
"mediumslateblue": [123, 104, 238],
48786-
"mediumspringgreen": [0, 250, 154],
48787-
"mediumturquoise": [72, 209, 204],
48788-
"mediumvioletred": [199, 21, 133],
48789-
"midnightblue": [25, 25, 112],
48790-
"mintcream": [245, 255, 250],
48791-
"mistyrose": [255, 228, 225],
48792-
"moccasin": [255, 228, 181],
48793-
"navajowhite": [255, 222, 173],
48794-
"navy": [0, 0, 128],
48795-
"oldlace": [253, 245, 230],
48796-
"olive": [128, 128, 0],
48797-
"olivedrab": [107, 142, 35],
48798-
"orange": [255, 165, 0],
48799-
"orangered": [255, 69, 0],
48800-
"orchid": [218, 112, 214],
48801-
"palegoldenrod": [238, 232, 170],
48802-
"palegreen": [152, 251, 152],
48803-
"paleturquoise": [175, 238, 238],
48804-
"palevioletred": [219, 112, 147],
48805-
"papayawhip": [255, 239, 213],
48806-
"peachpuff": [255, 218, 185],
48807-
"peru": [205, 133, 63],
48808-
"pink": [255, 192, 203],
48809-
"plum": [221, 160, 221],
48810-
"powderblue": [176, 224, 230],
48811-
"purple": [128, 0, 128],
48812-
"rebeccapurple": [102, 51, 153],
48813-
"red": [255, 0, 0],
48814-
"rosybrown": [188, 143, 143],
48815-
"royalblue": [65, 105, 225],
48816-
"saddlebrown": [139, 69, 19],
48817-
"salmon": [250, 128, 114],
48818-
"sandybrown": [244, 164, 96],
48819-
"seagreen": [46, 139, 87],
48820-
"seashell": [255, 245, 238],
48821-
"sienna": [160, 82, 45],
48822-
"silver": [192, 192, 192],
48823-
"skyblue": [135, 206, 235],
48824-
"slateblue": [106, 90, 205],
48825-
"slategray": [112, 128, 144],
48826-
"slategrey": [112, 128, 144],
48827-
"snow": [255, 250, 250],
48828-
"springgreen": [0, 255, 127],
48829-
"steelblue": [70, 130, 180],
48830-
"tan": [210, 180, 140],
48831-
"teal": [0, 128, 128],
48832-
"thistle": [216, 191, 216],
48833-
"tomato": [255, 99, 71],
48834-
"turquoise": [64, 224, 208],
48835-
"violet": [238, 130, 238],
48836-
"wheat": [245, 222, 179],
48837-
"white": [255, 255, 255],
48838-
"whitesmoke": [245, 245, 245],
48839-
"yellow": [255, 255, 0],
48840-
"yellowgreen": [154, 205, 50]
48841-
};
48687+
48688+
48689+
module.exports = {
48690+
"aliceblue": [240, 248, 255],
48691+
"antiquewhite": [250, 235, 215],
48692+
"aqua": [0, 255, 255],
48693+
"aquamarine": [127, 255, 212],
48694+
"azure": [240, 255, 255],
48695+
"beige": [245, 245, 220],
48696+
"bisque": [255, 228, 196],
48697+
"black": [0, 0, 0],
48698+
"blanchedalmond": [255, 235, 205],
48699+
"blue": [0, 0, 255],
48700+
"blueviolet": [138, 43, 226],
48701+
"brown": [165, 42, 42],
48702+
"burlywood": [222, 184, 135],
48703+
"cadetblue": [95, 158, 160],
48704+
"chartreuse": [127, 255, 0],
48705+
"chocolate": [210, 105, 30],
48706+
"coral": [255, 127, 80],
48707+
"cornflowerblue": [100, 149, 237],
48708+
"cornsilk": [255, 248, 220],
48709+
"crimson": [220, 20, 60],
48710+
"cyan": [0, 255, 255],
48711+
"darkblue": [0, 0, 139],
48712+
"darkcyan": [0, 139, 139],
48713+
"darkgoldenrod": [184, 134, 11],
48714+
"darkgray": [169, 169, 169],
48715+
"darkgreen": [0, 100, 0],
48716+
"darkgrey": [169, 169, 169],
48717+
"darkkhaki": [189, 183, 107],
48718+
"darkmagenta": [139, 0, 139],
48719+
"darkolivegreen": [85, 107, 47],
48720+
"darkorange": [255, 140, 0],
48721+
"darkorchid": [153, 50, 204],
48722+
"darkred": [139, 0, 0],
48723+
"darksalmon": [233, 150, 122],
48724+
"darkseagreen": [143, 188, 143],
48725+
"darkslateblue": [72, 61, 139],
48726+
"darkslategray": [47, 79, 79],
48727+
"darkslategrey": [47, 79, 79],
48728+
"darkturquoise": [0, 206, 209],
48729+
"darkviolet": [148, 0, 211],
48730+
"deeppink": [255, 20, 147],
48731+
"deepskyblue": [0, 191, 255],
48732+
"dimgray": [105, 105, 105],
48733+
"dimgrey": [105, 105, 105],
48734+
"dodgerblue": [30, 144, 255],
48735+
"firebrick": [178, 34, 34],
48736+
"floralwhite": [255, 250, 240],
48737+
"forestgreen": [34, 139, 34],
48738+
"fuchsia": [255, 0, 255],
48739+
"gainsboro": [220, 220, 220],
48740+
"ghostwhite": [248, 248, 255],
48741+
"gold": [255, 215, 0],
48742+
"goldenrod": [218, 165, 32],
48743+
"gray": [128, 128, 128],
48744+
"green": [0, 128, 0],
48745+
"greenyellow": [173, 255, 47],
48746+
"grey": [128, 128, 128],
48747+
"honeydew": [240, 255, 240],
48748+
"hotpink": [255, 105, 180],
48749+
"indianred": [205, 92, 92],
48750+
"indigo": [75, 0, 130],
48751+
"ivory": [255, 255, 240],
48752+
"khaki": [240, 230, 140],
48753+
"lavender": [230, 230, 250],
48754+
"lavenderblush": [255, 240, 245],
48755+
"lawngreen": [124, 252, 0],
48756+
"lemonchiffon": [255, 250, 205],
48757+
"lightblue": [173, 216, 230],
48758+
"lightcoral": [240, 128, 128],
48759+
"lightcyan": [224, 255, 255],
48760+
"lightgoldenrodyellow": [250, 250, 210],
48761+
"lightgray": [211, 211, 211],
48762+
"lightgreen": [144, 238, 144],
48763+
"lightgrey": [211, 211, 211],
48764+
"lightpink": [255, 182, 193],
48765+
"lightsalmon": [255, 160, 122],
48766+
"lightseagreen": [32, 178, 170],
48767+
"lightskyblue": [135, 206, 250],
48768+
"lightslategray": [119, 136, 153],
48769+
"lightslategrey": [119, 136, 153],
48770+
"lightsteelblue": [176, 196, 222],
48771+
"lightyellow": [255, 255, 224],
48772+
"lime": [0, 255, 0],
48773+
"limegreen": [50, 205, 50],
48774+
"linen": [250, 240, 230],
48775+
"magenta": [255, 0, 255],
48776+
"maroon": [128, 0, 0],
48777+
"mediumaquamarine": [102, 205, 170],
48778+
"mediumblue": [0, 0, 205],
48779+
"mediumorchid": [186, 85, 211],
48780+
"mediumpurple": [147, 112, 219],
48781+
"mediumseagreen": [60, 179, 113],
48782+
"mediumslateblue": [123, 104, 238],
48783+
"mediumspringgreen": [0, 250, 154],
48784+
"mediumturquoise": [72, 209, 204],
48785+
"mediumvioletred": [199, 21, 133],
48786+
"midnightblue": [25, 25, 112],
48787+
"mintcream": [245, 255, 250],
48788+
"mistyrose": [255, 228, 225],
48789+
"moccasin": [255, 228, 181],
48790+
"navajowhite": [255, 222, 173],
48791+
"navy": [0, 0, 128],
48792+
"oldlace": [253, 245, 230],
48793+
"olive": [128, 128, 0],
48794+
"olivedrab": [107, 142, 35],
48795+
"orange": [255, 165, 0],
48796+
"orangered": [255, 69, 0],
48797+
"orchid": [218, 112, 214],
48798+
"palegoldenrod": [238, 232, 170],
48799+
"palegreen": [152, 251, 152],
48800+
"paleturquoise": [175, 238, 238],
48801+
"palevioletred": [219, 112, 147],
48802+
"papayawhip": [255, 239, 213],
48803+
"peachpuff": [255, 218, 185],
48804+
"peru": [205, 133, 63],
48805+
"pink": [255, 192, 203],
48806+
"plum": [221, 160, 221],
48807+
"powderblue": [176, 224, 230],
48808+
"purple": [128, 0, 128],
48809+
"rebeccapurple": [102, 51, 153],
48810+
"red": [255, 0, 0],
48811+
"rosybrown": [188, 143, 143],
48812+
"royalblue": [65, 105, 225],
48813+
"saddlebrown": [139, 69, 19],
48814+
"salmon": [250, 128, 114],
48815+
"sandybrown": [244, 164, 96],
48816+
"seagreen": [46, 139, 87],
48817+
"seashell": [255, 245, 238],
48818+
"sienna": [160, 82, 45],
48819+
"silver": [192, 192, 192],
48820+
"skyblue": [135, 206, 235],
48821+
"slateblue": [106, 90, 205],
48822+
"slategray": [112, 128, 144],
48823+
"slategrey": [112, 128, 144],
48824+
"snow": [255, 250, 250],
48825+
"springgreen": [0, 255, 127],
48826+
"steelblue": [70, 130, 180],
48827+
"tan": [210, 180, 140],
48828+
"teal": [0, 128, 128],
48829+
"thistle": [216, 191, 216],
48830+
"tomato": [255, 99, 71],
48831+
"turquoise": [64, 224, 208],
48832+
"violet": [238, 130, 238],
48833+
"wheat": [245, 222, 179],
48834+
"white": [255, 255, 255],
48835+
"whitesmoke": [245, 245, 245],
48836+
"yellow": [255, 255, 0],
48837+
"yellowgreen": [154, 205, 50]
48838+
};
4884248839

4884348840

4884448841
/***/ }),

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function main () {
1515
const changelogTypes = core.getInput('changelog-types')
1616

1717
// Parse the changelogTypes if there are any
18-
let changelogSections = []
18+
let changelogSections = undefined
1919
if (changelogTypes) {
2020
changelogSections = JSON.parse(changelogTypes)
2121
}

0 commit comments

Comments
 (0)