regenerate

This commit is contained in:
softprops
2019-09-09 21:24:39 +09:00
parent ef96a2eb52
commit bb78d54396
5 changed files with 8 additions and 8 deletions

View File

@ -76,12 +76,14 @@ export const release = async (config: Config, gh: GitHub): Promise<Release> => {
return release.data;
} catch (error) {
// presume a race with competing metrix runs
console.log(`GitHub release failed with status: ${error.status}`);
console.log(
`⚠️ GitHub release failed with status: ${error.status}, retrying...`
);
return release(config, gh);
}
} else {
console.log(
`Unexpected error fetching GitHub release for tag ${config.github_ref}: ${error}`
`⚠️ Unexpected error fetching GitHub release for tag ${config.github_ref}: ${error}`
);
throw error;
}

View File

@ -19,7 +19,6 @@ async function run() {
}
console.log(`🎉 Release ready at ${rel.html_url}`);
} catch (error) {
console.log(`Error: ${error}`);
setFailed(error.message);
}
}