release-please 14.10.0 → 14.10.1

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,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [14.10.1](https://github.com/googleapis/release-please/compare/v14.10.0...v14.10.1) (2022-10-03)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Put config schema on correct file ([#1678](https://github.com/googleapis/release-please/issues/1678)) ([6edc50b](https://github.com/googleapis/release-please/commit/6edc50b5599180b7ffa83a623559d328527e9274))
13
+
7
14
  ## [14.10.0](https://github.com/googleapis/release-please/compare/v14.9.0...v14.10.0) (2022-09-30)
8
15
 
9
16
 
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 to create a release PR after a pull request
125
- with with releasable unit has been merged, please re-run `release-please`. If you are using
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 on-board your repository is 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
@@ -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.0",
3
+ "version": "14.10.1",
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",