release-please 16.17.0 → 16.18.0

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
+ ## [16.18.0](https://github.com/googleapis/release-please/compare/v16.17.0...v16.18.0) (2025-02-27)
8
+
9
+
10
+ ### Features
11
+
12
+ * Manifest.createRelease to return PR numbers ([#2491](https://github.com/googleapis/release-please/issues/2491)) ([0f07691](https://github.com/googleapis/release-please/commit/0f076910c719b8dc8563936039b0708567811049))
13
+
7
14
  ## [16.17.0](https://github.com/googleapis/release-please/compare/v16.16.0...v16.17.0) (2025-02-20)
8
15
 
9
16
 
package/README.md CHANGED
@@ -194,7 +194,7 @@ Release Please automates releases for the following flavors of repositories:
194
194
  | `expo` | [An Expo based React Native repository, with a package.json, app.json and CHANGELOG.md](https://github.com/dmi3y/expo-release-please-example) |
195
195
  | `ocaml` | [An OCaml repository, containing 1 or more opam or esy files and a CHANGELOG.md](https://github.com/grain-lang/binaryen.ml) |
196
196
  | `php` | A repository with a composer.json and a CHANGELOG.md |
197
- | `python` | [A Python repository, with a setup.py, setup.cfg, CHANGELOG.md](https://github.com/googleapis/python-storage) and optionally a pyproject.toml and a <project>/\_\_init\_\_.py |
197
+ | `python` | [A Python repository with a pyproject.toml, <project>/\_\_init\_\_.py, CHANGELOG.md or optionally a setup.py, setup.cfg](https://github.com/googleapis/python-storage) |
198
198
  | `R` | A repository with a DESCRIPTION and a NEWS.md |
199
199
  | `ruby` | A repository with a version.rb and a CHANGELOG.md |
200
200
  | `rust` | A Rust repository, with a Cargo.toml (either as a crate or workspace, although note that workspaces require a [manifest driven release](https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md) and the "cargo-workspace" plugin) and a CHANGELOG.md |
@@ -14,4 +14,4 @@ export { Logger, setLogger } from './util/logger';
14
14
  export { GitHub } from './github';
15
15
  export declare const configSchema: any;
16
16
  export declare const manifestSchema: any;
17
- export declare const VERSION = "16.17.0";
17
+ export declare const VERSION = "16.18.0";
@@ -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 = '16.17.0';
39
+ exports.VERSION = '16.18.0';
40
40
  // x-release-please-end
41
41
  //# sourceMappingURL=index.js.map
@@ -212,6 +212,7 @@ export interface CreatedRelease extends GitHubRelease {
212
212
  major: number;
213
213
  minor: number;
214
214
  patch: number;
215
+ prNumber: number;
215
216
  }
216
217
  export declare class Manifest {
217
218
  private repository;
@@ -704,7 +704,7 @@ class Manifest {
704
704
  if (error)
705
705
  continue;
706
706
  try {
707
- githubReleases.push(await this.createRelease(release));
707
+ githubReleases.push(await this.createRelease(release, pullRequest));
708
708
  }
709
709
  catch (err) {
710
710
  if (err instanceof errors_1.DuplicateReleaseError) {
@@ -747,7 +747,7 @@ class Manifest {
747
747
  }
748
748
  return githubReleases;
749
749
  }
750
- async createRelease(release) {
750
+ async createRelease(release, pullRequest) {
751
751
  const githubRelease = await this.github.createRelease(release, {
752
752
  draft: release.draft,
753
753
  prerelease: release.prerelease,
@@ -759,6 +759,7 @@ class Manifest {
759
759
  major: release.tag.version.major,
760
760
  minor: release.tag.version.minor,
761
761
  patch: release.tag.version.patch,
762
+ prNumber: pullRequest.number,
762
763
  };
763
764
  }
764
765
  async getStrategiesByPath() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "16.17.0",
3
+ "version": "16.18.0",
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",