1 | import { VersionLabel } from './release';
|
2 | declare enum SEMVER {
|
3 | major = "major",
|
4 | premajor = "premajor",
|
5 | minor = "minor",
|
6 | preminor = "preminor",
|
7 | patch = "patch",
|
8 | prepatch = "prepatch",
|
9 | noVersion = ""
|
10 | }
|
11 | export declare type IVersionLabels = Map<VersionLabel | 'none', string[]>;
|
12 | export default SEMVER;
|
13 |
|
14 | export declare function getHigherSemverTag(left: SEMVER, right: string): SEMVER;
|
15 | interface ISemVerOptions {
|
16 |
|
17 | onlyPublishWithReleaseLabel?: boolean;
|
18 | }
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function calculateSemVerBump(labels: string[][], labelMap: IVersionLabels, { onlyPublishWithReleaseLabel }?: ISemVerOptions): SEMVER | SEMVER.noVersion;
|
25 |
|
\ | No newline at end of file |