vtex
Version:
The platform for e-commerce apps
28 lines (27 loc) • 862 B
TypeScript
export declare class ReleaseUtils {
private root;
private versionFile;
private changelogPath;
constructor();
private readVersionFile;
private writeVersionFile;
readVersion: () => any;
incrementVersion: (rawOldVersion: string, releaseType: string, tagName: string) => any;
commit: (tagName: string) => any;
tag: (tagName: string) => any;
push: (tagName: string) => any;
gitStatus: () => any;
checkNothingToCommit: () => boolean;
checkIfGitPushWorks: () => void;
preRelease: () => any;
confirmRelease: () => Promise<boolean>;
checkGit: () => void;
checkIfInGitRepo: () => void;
postRelease: () => any;
add: () => any;
updateChangelog: (changelogVersion: any) => void;
bump: (newVersion: string) => void;
private getScript;
private runCommand;
private runScript;
}