release-please 17.4.0 → 17.4.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/build/src/github.js +12 -0
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js +1 -1
- package/package.json +2 -2
package/build/src/github.js
CHANGED
|
@@ -160,6 +160,18 @@ class GitHub {
|
|
|
160
160
|
draft: !!(options === null || options === void 0 ? void 0 : options.draft),
|
|
161
161
|
labels: pullRequest.labels,
|
|
162
162
|
});
|
|
163
|
+
if (prNumber === 0) {
|
|
164
|
+
this.logger.warn('no code changes detected, skipping pull request creation');
|
|
165
|
+
return {
|
|
166
|
+
headBranchName: pullRequest.headBranchName,
|
|
167
|
+
baseBranchName: targetBranch,
|
|
168
|
+
number: 0,
|
|
169
|
+
title: pullRequest.title,
|
|
170
|
+
body: pullRequest.body,
|
|
171
|
+
labels: pullRequest.labels,
|
|
172
|
+
files: [],
|
|
173
|
+
};
|
|
174
|
+
}
|
|
163
175
|
return await this.getPullRequest(prNumber);
|
|
164
176
|
});
|
|
165
177
|
/**
|
package/build/src/index.d.ts
CHANGED
package/build/src/index.js
CHANGED
|
@@ -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 = '17.4.
|
|
39
|
+
exports.VERSION = '17.4.1';
|
|
40
40
|
// x-release-please-end
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "release-please",
|
|
3
|
-
"version": "17.4.
|
|
3
|
+
"version": "17.4.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",
|
|
@@ -103,6 +103,6 @@
|
|
|
103
103
|
},
|
|
104
104
|
"overrides": {
|
|
105
105
|
"tmp": "0.2.5",
|
|
106
|
-
"serialize-javascript": "^7.0.
|
|
106
|
+
"serialize-javascript": "^7.0.5"
|
|
107
107
|
}
|
|
108
108
|
}
|