mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-13 20:29:24 +00:00
chore: workaround release inc build block
Fixes #10721. This arose partly because of the change from release- to release@ in at 17.0.30-alpha (triggered by sentry req). Will require a corresponding patch to CI script to pass the --from and --to parameters.
This commit is contained in:
parent
d750636d5d
commit
fdc2cd438e
2 changed files with 3 additions and 3 deletions
|
|
@ -184,7 +184,7 @@ export const sendCommentToPullRequestAndRelatedIssues = async (
|
|||
*/
|
||||
|
||||
export const fixupHistory = async (
|
||||
octokit: GitHub, base: string, force: boolean, writeGithubComment: boolean
|
||||
octokit: GitHub, base: string, force: boolean, writeGithubComment: boolean, from?: string, to?: string
|
||||
): Promise<number> => {
|
||||
|
||||
//
|
||||
|
|
@ -194,7 +194,7 @@ export const fixupHistory = async (
|
|||
let pulls: PRInformation[] = [];
|
||||
|
||||
try {
|
||||
pulls = await reportHistory(octokit, base, force, false);
|
||||
pulls = await reportHistory(octokit, base, force, false, from, to);
|
||||
} catch(e) {
|
||||
logWarning(String(e));
|
||||
return -1;
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ const main = async (): Promise<void> => {
|
|||
|
||||
if(argv._.includes('history')) {
|
||||
logInfo(`# Validating history for ${version}`);
|
||||
changeCount = await fixupHistory(octokit, argv.base, argv.force, argv['write-github-comment']);
|
||||
changeCount = await fixupHistory(octokit, argv.base, argv.force, argv['write-github-comment'], argv.from, argv.to);
|
||||
logInfo(`# ${changeCount} change(s) found for ${version}\n`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue