UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

18 lines 928 B
import { Goal } from "../../../api/goal/Goal"; import { FulfillableGoalDetails, FulfillableGoalWithRegistrations, ImplementationRegistration } from "../../../api/goal/GoalWithFulfillment"; import { ProjectVersioner } from "../../delivery/build/local/projectVersioner"; /** * Register a ProjectVersioner for a certain type of push */ export interface ProjectVersionerRegistration extends Partial<ImplementationRegistration> { versioner: ProjectVersioner; } /** * Goal that performs project visioning: For example using Maven to increment the project version number */ export declare class Version extends FulfillableGoalWithRegistrations<ProjectVersionerRegistration> { constructor(goalDetailsOrUniqueName?: FulfillableGoalDetails | string, ...dependsOn: Goal[]); with(registration: ProjectVersionerRegistration): this; withVersioner(versioner: ProjectVersioner): this; } //# sourceMappingURL=Version.d.ts.map