Updated release tag on commitAndPushBranch function and api-report

Signed-off-by: Jason Froehlich <jfroehlich12@gmail.com>
This commit is contained in:
Jason Froehlich
2023-12-30 13:09:34 -05:00
committed by blam
parent 3a9ba42b4d
commit c700fdc724
2 changed files with 38 additions and 0 deletions
+35
View File
@@ -45,6 +45,41 @@ export type ActionContext<
each?: JsonObject;
};
// @public (undocumented)
export function commitAndPushBranch({
tempDir,
dir,
remoteUrl,
auth,
logger,
commitMessage,
gitAuthorInfo,
branch,
remoteRef,
}: {
tempDir: string;
dir: string;
remoteUrl: string;
auth:
| {
username: string;
password: string;
}
| {
token: string;
};
logger: Logger;
commitMessage: string;
gitAuthorInfo?: {
name?: string;
email?: string;
};
branch?: string;
remoteRef?: string;
}): Promise<{
commitHash: string;
}>;
// @public (undocumented)
export function commitAndPushRepo(input: {
dir: string;
@@ -136,6 +136,9 @@ export async function commitAndPushRepo(input: {
return { commitHash };
}
/**
* @public
*/
export async function commitAndPushBranch({
tempDir,
dir,