@process-engine/ci_tools
Version:
CI tools for process-engine.io
8 lines (7 loc) • 535 B
TypeScript
/**
* Primary branches are those branches where numbered pre-versions like `1.2.6-alpha.5` should be published.
*/
export declare const PRIMARY_BRANCHES: string[];
export declare function findNextSuffixNumber(baseVersion: string, branchName: string, tagList: string): number | null;
export declare function incrementVersion(packageVersion: string, branchName: string, gitTagList: string): string | null;
export declare function getExpectedLatestVersion(packageVersion: string, branchName: string, gitTagList: string): string | null;