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

@ -67,12 +67,12 @@ exports.release = (config, gh) => __awaiter(void 0, void 0, void 0, function* ()
}
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 exports.release(config, gh);
}
}
else {
console.log(`Unexpected error fetching GitHub release for tag ${config.github_ref}: ${error}`);
console.log(`⚠️ Unexpected error fetching GitHub release for tag ${config.github_ref}: ${error}`);
throw error;
}
}