release-please 13.0.1 → 13.0.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,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ### [13.0.2](https://www.github.com/googleapis/release-please/compare/v13.0.1...v13.0.2) (2021-12-29)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * set the title when creating a release ([#1177](https://www.github.com/googleapis/release-please/issues/1177)) ([d05001f](https://www.github.com/googleapis/release-please/commit/d05001faedcdf11869cd9db06e3a8a8071af4470))
13
+
7
14
  ### [13.0.1](https://www.github.com/googleapis/release-please/compare/v13.0.0...v13.0.1) (2021-12-23)
8
15
 
9
16
 
@@ -299,6 +299,7 @@ class GitHub {
299
299
  */
300
300
  this.createRelease = wrapAsync(async (release, options = {}) => {
301
301
  const resp = await this.octokit.repos.createRelease({
302
+ name: release.name,
302
303
  owner: this.repository.owner,
303
304
  repo: this.repository.repo,
304
305
  tag_name: release.tag.toString(),
@@ -182,6 +182,7 @@ class Manifest {
182
182
  logger_1.logger.debug(`Found release for path ${path}, ${release.tagName}`);
183
183
  releaseShasByPath[path] = release.sha;
184
184
  releasesByPath[path] = {
185
+ name: release.name,
185
186
  tag: tagName,
186
187
  sha: release.sha,
187
188
  notes: release.notes || '',
@@ -1,5 +1,6 @@
1
1
  import { TagName } from './util/tag-name';
2
2
  export interface Release {
3
+ readonly name?: string;
3
4
  readonly tag: TagName;
4
5
  readonly sha: string;
5
6
  readonly notes: string;
@@ -223,7 +223,11 @@ class BaseStrategy {
223
223
  return;
224
224
  }
225
225
  const tag = new tag_name_1.TagName(version, this.includeComponentInTag ? component : undefined, this.tagSeparator);
226
+ const releaseName = component && this.includeComponentInTag
227
+ ? `${component}: v${version.toString()}`
228
+ : `v${version.toString()}`;
226
229
  return {
230
+ name: releaseName,
227
231
  tag,
228
232
  notes: notes || '',
229
233
  sha: mergedPullRequest.sha,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "13.0.1",
3
+ "version": "13.0.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",