release-please 14.10.0 → 14.10.2
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.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/release-please?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [14.10.2](https://github.com/googleapis/release-please/compare/v14.10.1...v14.10.2) (2022-10-04)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **maven-workspace:** Preserve original pom.xml updater when bumping dependencies ([#1680](https://github.com/googleapis/release-please/issues/1680)) ([5d955c6](https://github.com/googleapis/release-please/commit/5d955c6e0c5896d2aedea08c5c0f12ac35972757))
|
|
13
|
+
|
|
14
|
+
## [14.10.1](https://github.com/googleapis/release-please/compare/v14.10.0...v14.10.1) (2022-10-03)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* Put config schema on correct file ([#1678](https://github.com/googleapis/release-please/issues/1678)) ([6edc50b](https://github.com/googleapis/release-please/commit/6edc50b5599180b7ffa83a623559d328527e9274))
|
|
20
|
+
|
|
7
21
|
## [14.10.0](https://github.com/googleapis/release-please/compare/v14.9.0...v14.10.0) (2022-09-30)
|
|
8
22
|
|
|
9
23
|
|
package/README.md
CHANGED
|
@@ -121,8 +121,8 @@ prefixes: "feat", "fix", and "deps".
|
|
|
121
121
|
Some languages have their specific releasable unit configuration. For example,
|
|
122
122
|
"docs" is a prefix for releasable units in Java and Python.
|
|
123
123
|
|
|
124
|
-
If you think Release Please missed
|
|
125
|
-
with
|
|
124
|
+
If you think Release Please missed creating a release PR after a pull request
|
|
125
|
+
with a releasable unit has been merged, please re-run `release-please`. If you are using
|
|
126
126
|
the GitHub application, add `release-please:force-run` label to the merged pull request. If
|
|
127
127
|
you are using the action, look for the failed invocation and retry the workflow run.
|
|
128
128
|
Release Please will process the pull request immediately to find releasable units.
|
|
@@ -171,7 +171,7 @@ for installation and configuration instructions.
|
|
|
171
171
|
## Bootstrapping your Repository
|
|
172
172
|
|
|
173
173
|
Release Please looks at commits since your last release tag. It may or may not be able to find
|
|
174
|
-
your previous releases. The easiest way to
|
|
174
|
+
your previous releases. The easiest way to onboard your repository is to
|
|
175
175
|
[bootstrap a manifest config](/docs/cli.md#bootstrapping).
|
|
176
176
|
|
|
177
177
|
## Customizing Release Please
|
|
@@ -26,6 +26,7 @@ const pull_request_title_1 = require("../util/pull-request-title");
|
|
|
26
26
|
const pull_request_body_1 = require("../util/pull-request-body");
|
|
27
27
|
const branch_name_1 = require("../util/branch-name");
|
|
28
28
|
const logger_1 = require("../util/logger");
|
|
29
|
+
const composite_1 = require("../updaters/composite");
|
|
29
30
|
const JAVA_RELEASE_TYPES = new Set(['java', 'java-bom', 'java-yoshi', 'maven']);
|
|
30
31
|
const XPATH_PROJECT_GROUP = '/*[local-name()="project"]/*[local-name()="groupId"]';
|
|
31
32
|
const XPATH_PROJECT_ARTIFACT = '/*[local-name()="project"]/*[local-name()="artifactId"]';
|
|
@@ -149,7 +150,7 @@ class MavenWorkspace extends workspace_1.WorkspacePlugin {
|
|
|
149
150
|
existingCandidate.pullRequest.updates =
|
|
150
151
|
existingCandidate.pullRequest.updates.map(update => {
|
|
151
152
|
if (update.path === (0, workspace_1.addPath)(existingCandidate.path, 'pom.xml')) {
|
|
152
|
-
update.updater = updater;
|
|
153
|
+
update.updater = new composite_1.CompositeUpdater(update.updater, updater);
|
|
153
154
|
}
|
|
154
155
|
else if (update.updater instanceof changelog_1.Changelog) {
|
|
155
156
|
if (dependencyNotes) {
|
|
@@ -15,12 +15,14 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ReleasePleaseConfig = void 0;
|
|
17
17
|
const json_stringify_1 = require("../util/json-stringify");
|
|
18
|
+
const SCHEMA_URL = 'https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json';
|
|
18
19
|
class ReleasePleaseConfig {
|
|
19
20
|
constructor(path, config) {
|
|
20
21
|
this.path = path;
|
|
21
22
|
this.config = config;
|
|
22
23
|
}
|
|
23
24
|
updateContent(content) {
|
|
25
|
+
var _a;
|
|
24
26
|
let parsed;
|
|
25
27
|
if (content) {
|
|
26
28
|
parsed = JSON.parse(content);
|
|
@@ -28,6 +30,7 @@ class ReleasePleaseConfig {
|
|
|
28
30
|
else {
|
|
29
31
|
parsed = { packages: {} };
|
|
30
32
|
}
|
|
33
|
+
parsed['$schema'] = (_a = parsed['$schema']) !== null && _a !== void 0 ? _a : SCHEMA_URL;
|
|
31
34
|
parsed.packages[this.path] = releaserConfigToJsonConfig(this.config);
|
|
32
35
|
if (content) {
|
|
33
36
|
return (0, json_stringify_1.jsonStringify)(parsed, content);
|
|
@@ -16,14 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ReleasePleaseManifest = void 0;
|
|
17
17
|
const json_stringify_1 = require("../util/json-stringify");
|
|
18
18
|
const default_1 = require("./default");
|
|
19
|
-
const SCHEMA_URL = 'https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json;';
|
|
20
19
|
class ReleasePleaseManifest extends default_1.DefaultUpdater {
|
|
21
20
|
updateContent(content) {
|
|
22
21
|
const parsed = content ? JSON.parse(content) : {};
|
|
23
22
|
for (const [path, version] of this.versionsMap) {
|
|
24
23
|
parsed[path] = version.toString();
|
|
25
24
|
}
|
|
26
|
-
parsed['$schema'] = SCHEMA_URL;
|
|
27
25
|
if (content) {
|
|
28
26
|
return (0, json_stringify_1.jsonStringify)(parsed, content);
|
|
29
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "release-please",
|
|
3
|
-
"version": "14.10.
|
|
3
|
+
"version": "14.10.2",
|
|
4
4
|
"description": "generate release PRs based on the conventionalcommits.org spec",
|
|
5
5
|
"main": "./build/src/index.js",
|
|
6
6
|
"bin": "./build/src/bin/release-please.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"gts": "^3.1.0",
|
|
64
64
|
"mocha": "^9.2.2",
|
|
65
65
|
"nock": "^13.0.0",
|
|
66
|
-
"sinon": "14.0.
|
|
66
|
+
"sinon": "14.0.1",
|
|
67
67
|
"snap-shot-it": "^7.0.0"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|