forked from mirrors/action-gh-release
regenerate
This commit is contained in:
parent
ef96a2eb52
commit
bb78d54396
5 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue