release-please 16.3.1 → 16.4.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/build/src/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as Errors from './errors';
|
|
2
|
-
export { Manifest, ReleaserConfig, ManifestOptions, PluginType, } from './manifest';
|
|
2
|
+
export { Manifest, ReleaserConfig, ManifestOptions, PluginType, CandidateRelease, CreatedRelease, } from './manifest';
|
|
3
|
+
export { ReleasePullRequest } from './release-pull-request';
|
|
4
|
+
export { PullRequest } from './pull-request';
|
|
3
5
|
export { Commit, ConventionalCommit } from './commit';
|
|
4
6
|
export { Strategy } from './strategy';
|
|
5
7
|
export { BaseStrategyOptions, BuildUpdatesOptions } from './strategies/base';
|
package/build/src/manifest.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ export declare const DEFAULT_RELEASE_LABELS: string[];
|
|
|
189
189
|
export declare const DEFAULT_SNAPSHOT_LABELS: string[];
|
|
190
190
|
export declare const SNOOZE_LABEL = "autorelease: snooze";
|
|
191
191
|
export declare const MANIFEST_PULL_REQUEST_TITLE_PATTERN = "chore: release ${branch}";
|
|
192
|
-
interface CreatedRelease extends GitHubRelease {
|
|
192
|
+
export interface CreatedRelease extends GitHubRelease {
|
|
193
193
|
id: number;
|
|
194
194
|
path: string;
|
|
195
195
|
version: string;
|
|
@@ -19,6 +19,7 @@ const changelog_1 = require("../updaters/changelog");
|
|
|
19
19
|
// PHP Specific.
|
|
20
20
|
const root_composer_update_packages_1 = require("../updaters/php/root-composer-update-packages");
|
|
21
21
|
const base_1 = require("./base");
|
|
22
|
+
const default_1 = require("../updaters/default");
|
|
22
23
|
const CHANGELOG_SECTIONS = [
|
|
23
24
|
{ type: 'feat', section: 'Features' },
|
|
24
25
|
{ type: 'fix', section: 'Bug Fixes' },
|
|
@@ -60,6 +61,14 @@ class PHP extends base_1.BaseStrategy {
|
|
|
60
61
|
versionsMap,
|
|
61
62
|
}),
|
|
62
63
|
});
|
|
64
|
+
// update VERSION file
|
|
65
|
+
updates.push({
|
|
66
|
+
path: this.addPath('VERSION'),
|
|
67
|
+
createIfMissing: false,
|
|
68
|
+
updater: new default_1.DefaultUpdater({
|
|
69
|
+
version,
|
|
70
|
+
}),
|
|
71
|
+
});
|
|
63
72
|
return updates;
|
|
64
73
|
}
|
|
65
74
|
}
|