@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
20 lines (19 loc) • 667 B
TypeScript
import { Release } from './ReleaseChangelog';
import ReadPackageChangelog from './ReadPackageChangelog';
export default class CommitUpdater {
private latestRelease;
private artifactsToLatestCommitId;
private packagesToChangelogFilePaths;
private readPackageChangelog;
constructor(latestRelease: Release, artifactsToLatestCommitId: {
[p: string]: string;
}, packagesToChangelogFilePaths: {
[p: string]: string;
}, readPackageChangelog: ReadPackageChangelog);
/**
* Generate commits in latest release, for each artifact
* Also sets new latestCommitId for artifacts
* @returns
*/
update(): void;
}