@atomist/atomist-sdm
Version:
Atomist SDM to deliver our own projects
19 lines (18 loc) • 967 B
TypeScript
import { Project } from "@atomist/automation-client";
import { ExecuteGoalResult, ProgressLog, PushTest, SdmGoalEvent, SoftwareDeliveryMachine } from "@atomist/sdm";
import { ProjectIdentifier, ProjectVersionerRegistration } from "@atomist/sdm-core";
/**
* Version projects based on the value in the file `VERSION`.
*/
export declare function fileVersioner(sdmGoal: SdmGoalEvent, p: Project, log: ProgressLog): Promise<string>;
export declare const HasFileVersion: PushTest;
export declare const FileVersionerRegistration: ProjectVersionerRegistration;
/**
* Command for incrementing the patch value in `VERSION`.
*/
export declare function fileIncrementPatch(p: Project, log: ProgressLog): Promise<ExecuteGoalResult>;
/**
* Project identifier for projects storing the version in `VERSION`.
*/
export declare const fileProjectIdentifier: ProjectIdentifier;
export declare function addFileVersionerSupport(sdm: SoftwareDeliveryMachine): SoftwareDeliveryMachine;