release-please 17.10.2 → 17.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,6 +26,7 @@ class DefaultChangelogNotes {
|
|
|
26
26
|
this.mainTemplate = options.mainTemplate;
|
|
27
27
|
}
|
|
28
28
|
async buildNotes(commits, options) {
|
|
29
|
+
var _a;
|
|
29
30
|
const context = {
|
|
30
31
|
host: options.host || DEFAULT_HOST,
|
|
31
32
|
owner: options.owner,
|
|
@@ -40,8 +41,11 @@ class DefaultChangelogNotes {
|
|
|
40
41
|
config.types = options.changelogSections;
|
|
41
42
|
}
|
|
42
43
|
const preset = await presetFactory(config);
|
|
44
|
+
// Replace the default ", closes" keyword with ", refs" to prevent GitHub from
|
|
45
|
+
// automatically closing referenced issues when the release PR is merged.
|
|
43
46
|
preset.writerOpts.commitPartial =
|
|
44
|
-
this.commitPartial ||
|
|
47
|
+
this.commitPartial ||
|
|
48
|
+
((_a = preset.writerOpts.commitPartial) === null || _a === void 0 ? void 0 : _a.replace(/,\s*closes/g, ', refs'));
|
|
45
49
|
preset.writerOpts.headerPartial =
|
|
46
50
|
this.headerPartial || preset.writerOpts.headerPartial;
|
|
47
51
|
preset.writerOpts.mainTemplate =
|
package/build/src/index.d.ts
CHANGED
package/build/src/index.js
CHANGED
|
@@ -36,6 +36,6 @@ Object.defineProperty(exports, "GitHub", { enumerable: true, get: function () {
|
|
|
36
36
|
exports.configSchema = require('../../schemas/config.json');
|
|
37
37
|
exports.manifestSchema = require('../../schemas/manifest.json');
|
|
38
38
|
// x-release-please-start-version
|
|
39
|
-
exports.VERSION = '17.10.
|
|
39
|
+
exports.VERSION = '17.10.4';
|
|
40
40
|
// x-release-please-end
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -25,6 +25,7 @@ class LibrarianYamlUpdater extends default_1.DefaultUpdater {
|
|
|
25
25
|
super(options);
|
|
26
26
|
this.specialArtifacts = new Map([
|
|
27
27
|
['google-cloud-java', 'google-cloud-java'],
|
|
28
|
+
['google-cloud-pom-parent', 'google-cloud-pom-parent'],
|
|
28
29
|
]);
|
|
29
30
|
this.packagePath = options.packagePath;
|
|
30
31
|
this.component = options.component;
|
package/package.json
CHANGED