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 +7 -0
- package/build/src/github.js +1 -0
- package/build/src/manifest.js +1 -0
- package/build/src/release.d.ts +1 -0
- package/build/src/strategies/base.js +4 -0
- package/package.json +1 -1
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
|
|
package/build/src/github.js
CHANGED
|
@@ -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(),
|
package/build/src/manifest.js
CHANGED
|
@@ -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 || '',
|
package/build/src/release.d.ts
CHANGED
|
@@ -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,
|